PTHREADSELF(3) BSD Library Functions Manual PTHREADSELF(3)
NAME
pthreadself -- get the calling thread's ID
SYNOPSIS
##include <>
pthreadt
pthreadself(void);
DESCRIPTION
The pthreadself() function returns the thread ID of the calling thread.
RETURN VALUES
The pthreadself() function returns the thread ID of the calling thread.
ERORS
None.
SEE ALSO
pthreadcreate(3), pthreadequal(3)
STANDARDS
pthreadself() conforms to ISO/IEC 9945-1:1996 (``POSIX.1'').
BSD April 4, 1996 BSD
|