_LWP_SELF(2)_LWP_SELF(2)NAME_lwp_self - get LWP identifier
SYNOPSIS
#include <sys/lwp.h>
lwpid_t _lwp_self(void);
DESCRIPTION
The _lwp_self() function returns the ID of the calling LWP.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌───────────────┬───────────────────┐
│ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├───────────────┼───────────────────┤
│MT-Level │ Async-Signal-Safe │
└───────────────┴───────────────────┘
SEE ALSOattributes(5)
Aug 8, 2001 _LWP_SELF(2)