netbsd man page for _lwp_getprivate

Query: _lwp_getprivate

OS: netbsd

Section: 2

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

_LWP_GETPRIVATE(2)					      BSD System Calls Manual						_LWP_GETPRIVATE(2)

NAME
_lwp_getprivate, _lwp_setprivate -- get and set light-weight process private data
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <lwp.h> void * _lwp_getprivate(void); void _lwp_setprivate(void *ptr);
DESCRIPTION
_lwp_setprivate() stores the pointer to private data ptr in a location private to the LWP. _lwp_getprivate() returns the pointer to private data for the LWP.
ERRORS
The _lwp_getprivate() and _lwp_setprivate() functions are always successful, and no return value is reserved to indicate an error.
SEE ALSO
_lwp_makecontext(3)
HISTORY
The _lwp_getprivate() and _lwp_setprivate() system calls first appeared in NetBSD 2.0.
BSD
January 16, 2003 BSD
Related Man Pages
_lwp_unpark(2) - netbsd
_lwp_unpark_all(2) - netbsd
_lwp_wait(2) - netbsd
atomic_dec_32(3) - netbsd
atomic_dec_ptr_nv(3) - netbsd
Similar Topics in the Unix Linux Community
Unix File Permissions
How to install PGX32 on Sparc 10 Ultra?
Vm versus physical linux server
Grandpa returning to UNIX
BSD Unix Toolbox: 1000+ Commands for FreeBSD, OpenBSD, and NetBSD