pthread_rwlockattr_getpshared(3)pthread_rwlockattr_getpshared(3)NAMEpthread_rwlockattr_getpshared - Obtains the process-shared attribute of
a read-write lock attributes object
SYNOPSIS
#include <pthread.h>
int pthread_rwlockattr_getpshared(
const pthread_rwlockattr_t *attr,
int *pshared );
LIBRARY
DECthreads POSIX 1003.1c Library (libpthread.so)
PARAMETERS
Address of the read-write lock attributes object whose process-shared
attribute is to be obtained. Location to store the value of the
process-shared attribute of attr.
DESCRIPTION
This routine obtains the value of the process-shared attribute in the
read-write lock attributes object referenced by attr and stores it at
the location pshared. The object referenced by attr must be initialā
ized before this routine is called.
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. The value specified by attr is not a valid
attributes object.
ERRORS
None
SEE ALSO
Functions: pthread_rwlockattr_setpshared(3), pthread_rwlockattr_init(3)
Manuals: Guide to DECthreads and Programmer's Guide
pthread_rwlockattr_getpshared(3)