man pages section 2: System Calls

Exit Print View

Updated: July 2014
 
 

_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 also

attributes(5)