pthread_mutexattr_gettype man page on DigitalUNIX

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

pthread_mutexattr_gettype(3)			  pthread_mutexattr_gettype(3)

NAME
       pthread_mutexattr_gettype  -  Obtains  the  mutex type attribute in the
       specified mutex attributes object

SYNOPSIS
       #include <pthread.h>

       int pthread_mutexattr_gettype(
	       const pthread_mutexattr_t *attr,
	       int *type );

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
       Mutex  attributes  object  whose	 mutex	type  attribute	 is  obtained.
       Receives the value of the mutex type attribute. The type argument spec‐
       ifies   the   type   of	mutex  that  is	 created.  Valid  values  are:
       PTHREAD_MUTEX_NORMAL	     PTHREAD_MUTEX_DEFAULT	     (default)
       PTHREAD_MUTEX_RECURSIVE PTHREAD_MUTEX_ERRORCHECK

DESCRIPTION
       This routine obtains the value of the mutex type attribute in the mutex
       attributes object specified by the attr argument and stores it  in  the
       location specified by the type argument. See the pthread_mutexattr_set‐
       type(3)	routine	 description  for   information	  about	  mutex	  type
       attributes.

RETURN VALUES
       On  successful  completion,  this routine returns the mutex type in the
       location by the type argument.

       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 value specified by attr is invalid.

ERRORS
       None

SEE ALSO
       Functions:   pthread_mutexattr_init(3),	 pthread_mutexattr_settype(3),
       pthread_mutex_init(3)

       Manuals: Guide to DECthreads and Programmer's Guide

						  pthread_mutexattr_gettype(3)
[top]

List of man pages available for DigitalUNIX

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