int
_lwp_setname(
lwpid_t target
, const char *name
)
)
sets the descriptive name of the LWP.
It takes the following arguments.
target
name
The name is used by top(1) when showing LWPs, for example.
)
returns 0 on success.
Otherwise, -1 is returned and
errno
is set to indicate the error.