netbsd man page for _lwp_self

Query: _lwp_self

OS: netbsd

Section: 2

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

_LWP_SELF(2)						      BSD System Calls Manual						      _LWP_SELF(2)

NAME
_lwp_self -- get light-weight process identification
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <lwp.h> lwpid_t _lwp_self(void);
DESCRIPTION
_lwp_self() returns the LWP ID of the calling LWP.
ERRORS
The _lwp_self() function is always successful, and no return value is reserved to indicate an error.
SEE ALSO
_lwp_create(2)
HISTORY
The _lwp_self() system call first appeared in NetBSD 2.0.
BSD
January 13, 2003 BSD
Related Man Pages
getppid(2) - debian
_lwp_park(2) - netbsd
_lwp_makecontext(3) - netbsd
_lwp_suspend(2) - sunos
getpid(2) - freebsd
Similar Topics in the Unix Linux Community
Illegal Instruction error
Rpcbind service not starting