Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
System Calls_lwp_self(2)


NAME

 _lwp_self - get LWP identifier

SYNOPSIS

 
#include <sys/lwp.h>
lwpid_t _lwp_self(void);

DESCRIPTION

 

The _lwp_self() function returns the ID of the calling LWP.

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
MT-LevelAsync-Signal-Safe

SEE ALSO

 

_lwp_create(2), attributes(5)


SunOS 5.9Go To TopLast Changed 8 Aug 2001

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.