 |
Index for Section 3 |
|
 |
Alphabetical listing for P |
|
 |
Bottom of page |
|
pthread_rwlockattr_getpshared(3)
NAME
pthread_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
attr
Address of the read-write lock attributes object whose process-shared
attribute is to be obtained.
pshared
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 initialized 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:
0 Successful completion.
[EINVAL]
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
 |
Index for Section 3 |
|
 |
Alphabetical listing for P |
|
 |
Top of page |
|