pthread_getthreadid_np3
Get the calling thread's integral id
Usage
#include <pthread_np.h>
int
pthread_getthreadid_np(void);
Library
POSIX Threads Library (libpthread, -lpthread)
Overview
The pthread_getthreadid_np() function returns the unique integral ID of the calling thread. Its semantics is similar to the AIX's pthread_getthreadid_np() function.
Return values
The pthread_getthreadid_np() function returns the thread integral ID of the calling thread.
Errors
None.
Releases
34 releases since FreeBSD 9.0-RELEASE; the text changed 21 times.