NAME
lwp_gettid
—
get calling lwp
identification
LIBRARY
library “libc”
SYNOPSIS
#include
<sys/lwp.h>
lwpid_t
lwp_gettid
(void);
DESCRIPTION
Thelwp_gettid
()
function returns the lwp id of the calling lwp.
ERRORS
The lwp_gettid
() function is always
successful and no return value is reserved to indicate an error.
SEE ALSO
HISTORY
The lwp_gettid
() function first appeared
in DragonFly 1.9.