pthread_getlwpid_np man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

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 correā€
       sponding 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)
[top]

List of man pages available for HP-UX

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