_LWP_SELF(2) System Calls _LWP_SELF(2)

_lwp_self - get LWP identifier

#include <sys/lwp.h>
lwpid_t _lwp_self(void);

The _lwp_self() function returns the ID of the calling LWP.

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
MT-Level Async-Signal-Safe

attributes(7)

August 8, 2001 OmniOS