Go to main content

man pages section 2: System Calls

Exit Print View

Updated: Thursday, June 13, 2019
 
 

_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(7) for descriptions of the following attributes:

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

See Also

attributes(7)