DragonFly On-Line Manual Pages

Search: Section:  


LWP_GETTID(2)            DragonFly System Calls Manual           LWP_GETTID(2)

NAME

lwp_gettid -- get calling lwp identification

LIBRARY

Standard C Library (libc, -lc)

SYNOPSIS

#include <sys/lwp.h> lwpid_t lwp_gettid(void);

DESCRIPTION

The lwp_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

getpid(2), getppid(2), lwp_create(2)

HISTORY

The lwp_gettid() function first appeared in DragonFly 1.9. DragonFly 4.7 March 12, 2007 DragonFly 4.7

Search: Section: