netbsd man page for _lwp_getname

Query: _lwp_getname

OS: netbsd

Section: 2

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

_LWP_GETNAME(2) 					      BSD System Calls Manual						   _LWP_GETNAME(2)

NAME
_lwp_getname -- get descriptive name of an LWP
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <lwp.h> int _lwp_getname(lwpid_t target, char *name, size_t len);
DESCRIPTION
_lwp_getname() gets the descriptive name of the LWP. It takes the following arguments. target The LWP whose descriptive name will be obtained. name The buffer to be filled with the descriptive name of the LWP. len The size of the buffer name in bytes.
RETURN VALUES
_lwp_getname() returns 0 on success. Otherwise, -1 is returned and errno is set to indicate the error.
SEE ALSO
ps(1), top(1), _lwp_setname(2), errno(2)
BSD
December 15, 2007 BSD
Related Man Pages
_lwp_kill(2) - netbsd
_lwp_park(2) - netbsd
_lwp_makecontext(3) - netbsd
pthread_setname_np(3) - netbsd
_lwp_suspend(2) - sunos
Similar Topics in the Unix Linux Community
Unix File Permissions
Better to Use Return Code or wc -l Output?
Vm versus physical linux server
NetBSD 6.1.2: apm and admd not found
RFC - Korn shell prompt