pthread_attr_getdetachstate man page on OSF1

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
OSF1 logo
[printable version]

pthread_attr_getdetachstate(3)			pthread_attr_getdetachstate(3)

NAME
       pthread_attr_getdetachstate  - Obtains the detachstate attribute of the
       specified thread attributes object

SYNOPSIS
       #include <pthread.h>

       int pthread_attr_getdetachstate(
	       const pthread_attr_t *attr,
	       int *detachstate );

LIBRARY
       DECthreads POSIX 1003.1c Library (libpthread.so)

STANDARDS
       Interfaces documented on this reference page conform to industry	 stan‐
       dards as follows:

       IEEE Std 1003.1c-1995, POSIX System Application Program Interface

PARAMETERS
       Thread  attributes  object  whose  detachstate  attribute  is obtained.
       Receives the value of the detachstate attribute.

DESCRIPTION
       This routine obtains the detachstate attribute of a  thread  attributes
       object.	This  attribute	 specifies  whether  threads created using the
       specified thread attributes object are created in a detached state.

       See the pthread_attr_setdetachstate description for  information	 about
       the detachstate attribute.

RETURN VALUES
       On  successful completion, this routine returns a zero, and the detach‐
       state attribute is set in detachstate. A value of  PTHREAD_CREATE_JOIN‐
       ABLE  indicates the thread is not detached, and a value of PTHREAD_CRE‐
       ATE_DETACHED indicates the thread is detached.

       If an error condition occurs, this routine  returns  an	integer	 value
       indicating  the	type  of error. Possible return values are as follows:
       Successful completion. The detached  state  attribute  is  returned  in
       detachstate.  The value specified by attr does not refer to an existing
       thread attributes object.

ERRORS
       None

SEE ALSO
       Functions: pthread_attr_init(3), pthread_attr_setdetachstate(3)

       Manuals: Guide to DECthreads and Programmer's Guide

						pthread_attr_getdetachstate(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OSF1

List of man pages available for OSF1

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