_lwp_setname(2) netbsd man page | unix.com

Man Page: _lwp_setname

Operating Environment: netbsd

Section: 2

_LWP_SETNAME(2) 					      BSD System Calls Manual						   _LWP_SETNAME(2)

NAME
_lwp_setname -- set descriptive name of an LWP
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <lwp.h> int _lwp_setname(lwpid_t target, const char *name);
DESCRIPTION
_lwp_setname() sets the descriptive name of the LWP. It takes the following arguments. target The LWP whose descriptive name will be set. name The string to be used as the descriptive name of the LWP. The name is used by top(1) when showing LWPs, for example.
RETURN VALUES
_lwp_setname() returns 0 on success. Otherwise, -1 is returned and errno is set to indicate the error.
SEE ALSO
ps(1), top(1), _lwp_getname(2), errno(2)
BSD
December 15, 2007 BSD
Related Man Pages
_lwp_cond_broadcast(2) - sunos
_lwp_kill(2) - netbsd
_lwp_unpark(2) - netbsd
_lwp_wait(2) - netbsd
_lwp_cond_signal(2) - sunos
Similar Topics in the Unix Linux Community
How to install PGX32 on Sparc 10 Ultra?
Better to Use Return Code or wc -l Output?
Vm versus physical linux server
Adding a List of Times