osf1 man page for pthread_rwlockattr_init

Query: pthread_rwlockattr_init

OS: osf1

Section: 3

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

pthread_rwlockattr_init(3)				     Library Functions Manual					pthread_rwlockattr_init(3)

NAME
pthread_rwlockattr_init - Initialize a read-write lock attributes object.
LIBRARY
DECthreads POSIX 1003.1c Library (libpthread.so)
SYNOPSIS
#include <pthread.h> int pthread_rwlockattr_init( pthread_rwlockattr_t *attr);
PARAMETERS
Address of the read-write lock attributes object to be initialized.
DESCRIPTION
This routine initializes the read-write lock attributes object referenced by attr and sets its attributes with default values. The results of calling this routine are undefined if attr references an already initialized read-write lock attributes object. After an initialized read-write lock attributes object has been used to initialize one or more read-write lock objects, any operation on that attributes object (including destruction) has no effect on those read-write lock objects.
RETURN VALUES
If an error condition occurs, this routine returns an integer value indicating the type of error. Possible return values are as follows: Successful completion. Insufficient memory exists to initialize the read-write lock attributes object.
ERRORS
None
RELATED INFORMATION
Functions: pthread_rwlockattr_destroy(3), pthread_rwlockattr_getpshared(3), pthread_rwlockattr_setpshared(3), pthread_rwlock_init(3) Manuals: Guide to DECthreads and Programmer's Guide delim off pthread_rwlockattr_init(3)
Related Man Pages
pthread_rwlockattr(3) - netbsd
pthread_rwlockattr_destroy(3c) - opensolaris
pthread_rwlockattr_init(3c) - opensolaris
pthread_rwlockattr_getpshared(3) - osf1
pthread_rwlockattr_destroy(3) - osf1
Similar Topics in the Unix Linux Community
Perl write and read on same file