Standard C Library Functions thrself(3C)
NAME
thrself - get calling thread's ID
SYNOPSIS
cc -mt [ flag... ] file...[ library... ]
#include
threadt thrself(void);
typedef(unsigned int threadt);
DESCRIPTION
thrself() returns the thread ID of the calling thread.
ERORS
No errors are defined.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
MT-Level MT-Safe
SEE ALSO
thrcreate(3C), attributes(5), standards(5)
SunOS 5.11 Last change: 9 May 1998 1
|