PTHREAD_GETTHREADID_NP(3) |
FreeBSD Library Functions Manual |
PTHREAD_GETTHREADID_NP(3) |
NAME
pthread_getthreadid_np —
get the calling thread's integral ID
LIBRARY
POSIX Threads Library (libpthread, -lpthread)
SYNOPSIS
#include < pthread_np.h>
int
pthread_getthreadid_np( void);
DESCRIPTION
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.
AUTHORS
This manual page was written by
Jung-uk Kim <jkim@FreeBSD.org>.