1_lwp_self(2)                     System Calls                     _lwp_self(2)
2
3
4

NAME

6       _lwp_self - get LWP identifier
7

SYNOPSIS

9       #include <sys/lwp.h>
10
11       lwpid_t _lwp_self(void);
12
13

DESCRIPTION

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

ATTRIBUTES

18       See attributes(5)  for descriptions of the following attributes:
19
20
21
22
23       ┌─────────────────────────────┬─────────────────────────────┐
24       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
25       ├─────────────────────────────┼─────────────────────────────┤
26       │MT-Level                     │Async-Signal-Safe            │
27       └─────────────────────────────┴─────────────────────────────┘
28

SEE ALSO

30       attributes(5)
31
32
33
34SunOS 5.11                        8 Aug 2001                      _lwp_self(2)
Impressum