_lwp_setname man page on NetBSD

Man page or keyword search:  
man Server   9087 pages
apropos Keyword Search (all sections)
Output format
NetBSD logo
[printable version]

_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 fol‐
     lowing 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
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server NetBSD

List of man pages available for NetBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net