Manual Page Search Parameters

PTHREAD_GETTHREADID_NP(3) Library Functions Manual PTHREAD_GETTHREADID_NP(3)

pthread_getthreadid_npget the calling thread's integral ID

POSIX Threads Library (libpthread, -lpthread)

#include <pthread_np.h>

int
pthread_getthreadid_np(void);

The () function returns the unique integral ID of the calling thread. Its semantics is similar to the AIX's pthread_getthreadid_np() function.

The pthread_getthreadid_np() function returns the thread integral ID of the calling thread.

None.

pthread_np(3), pthread_self(3)

This manual page was written by Jung-uk Kim <jkim@FreeBSD.org>.

October 12, 2021 dev