'\" te .\" Copyright (c) 2001, Sun Microsystems, Inc. All Rights Reserved .TH _lwp_self 2 "8 Aug 2001" "SunOS 5.11" "System Calls" .SH NAME _lwp_self \- get LWP identifier .SH SYNOPSIS .LP .nf #include \fBlwpid_t\fR \fB_lwp_self\fR(\fBvoid\fR); .fi .SH DESCRIPTION .sp .LP The \fB_lwp_self()\fR function returns the ID of the calling LWP. .SH ATTRIBUTES .sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .sp .TS tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPEATTRIBUTE VALUE _ MT-LevelAsync-Signal-Safe .TE .SH SEE ALSO .sp .LP \fBattributes\fR(5)