pthread_create
extern int pthread_create(pthread_t *thread, const pthread_attr_t *attr,
WRAPPER_FUNCTION(int, pthread_create,
if (pthread_create(thr, NULL, thrd_entry, tp) != 0) {
pthread_create(&threads[0], NULL, writer, &file);
pthread_create(&threads[1], NULL, reader, &file);
ret = pthread_create(&thread, &attr, threadFunction, NULL);
pthread_create(&ids[i], NULL, threadFn, &short_ids[i]);
pthread_create(&t, NULL, threadFn, NULL);
if (pthread_create(&tid[i], &attributes, threadStart, &id[i]) != 0)
int rc = pthread_create(&thread, nullptr,
pthread_create(&ids[i], NULL, threadFn, &short_ids[i]);
errno = pthread_create(&thr[j], NULL, thread, NULL);