pthread_getlwpid_np(3t) hpux man page | unix.com

Man Page: pthread_getlwpid_np

Operating Environment: hpux

Section: 3t

pthread_getlwpid_np(3T) 												   pthread_getlwpid_np(3T)

NAME
pthread_getlwpid_np() - get the Light Weight Process ID of a thread
SYNOPSIS
PARAMETERS
thread Thread whose Light Weight Process ID is required. lwpid Pointer to the location where the Light Weight Process ID of the thread is to be returned.
DESCRIPTION
Each thread is associated with a unique system wide Light Weight Process ID (LWPID). stores the LWPID of the target thread in lwpid. The function is applicable only for threads.
RETURN VALUE
Upon successful completion, returns zero. Otherwise, an error number is returned to indicate the error (the errno variable is not set).
ERRORS
If any of the following problems occur, the function returns the corresponding error number: The value specified by thread does not refer to a thread, or the value lwpid points to is an illegal address. No thread could be found corresponding to thread.
AUTHOR
was developed by HP.
SEE ALSO
pthread_attr_init(3T), pthread_create(3T). Pthread Library pthread_getlwpid_np(3T)
Related Man Pages
pthread_detach(3c) - opensolaris
pthread_join(3) - netbsd
pthread_detach(3t) - hpux
pthread_set_nice_np(3t) - hpux
pthread_setschedprio(3t) - hpux
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Hpux 11iV3 administration document
awk - Multi-line data to be stored in variable
Seeking Alternative for diff in hp