_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  attri-
     butes:

     ____________________________________________________________
    |       ATTRIBUTE TYPE        |       ATTRIBUTE VALUE       |
    |_____________________________|_____________________________|
    | MT-Level                    | Async-Signal-Safe           |
    |_____________________________|_____________________________|


SEE ALSO

     _lwp_create(2), attributes(5)


Man(1) output converted with man2html