man pages section 2: System Calls
只搜寻这本书
查看这本书:
以 PDF 格式下载本书 (1733 KB)

_lwp_self(2)

Name | Synopsis | Description | Attributes | See Also

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

SunOS 5.10 Last Revised 8 Aug 2001

Name | Synopsis | Description | Attributes | See Also