hpux man page for pthread_getlwpid_np

Query: pthread_getlwpid_np

OS: hpux

Section: 3t

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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_join(3) - mojave
pthread_detach(3c) - sunos
pthread_join(3) - netbsd
pthread_set_nice_np(3t) - hpux
pthread_join(3) - osx
Similar Topics in the Unix Linux Community
Unix File Permissions
How to list file size on HPUX?
How to extract every repeated string between two specific string?
Shopt -s histappend