pthread_mutexattr_create man page on Ultrix

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

pthread_mutexattr_create(3thr)			pthread_mutexattr_create(3thr)

Name
       pthread_mutexattr_create	 -  Creates  a mutex attributes object that is
       used to specify the attributes of mutexes when they are created.

Syntax
       #include <pthread.h>

       int pthread_mutexattr_create (attr)
       pthread_mutexattr_t *attr;

Arguments
       attr    Mutex attributes object created.

Description
       This routine creates a mutex attributes	object	used  to  specify  the
       attributes  of  mutexes	when  they  are created.  The mutex attributes
       object is initialized with the default value for all of the  attributes
       defined by a given implementation.

       When a mutex attributes object is used to create a mutex, the values of
       the individual attributes determine  the	 characteristics  of  the  new
       object. Attributes objects act like additional arguments to object cre‐
       ation. Changing individual attributes does not affect any objects  that
       were previously created using the attributes object.

Return Values
       The created mutex attributes object is returned to the attr argument.

       If an error condition occurs, this routine returns -1 and sets errno to
       the corresponding error value.  Possible return values are as follows.

       Return	Error	   Description
       0		   Successful  comple‐
			   tion.

       -1	[ENOMEM]   Insufficient memory
			   exists  to	create
			   the		 mutex
			   attributes object.

						pthread_mutexattr_create(3thr)
[top]

List of man pages available for Ultrix

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