pthread_rwlockattr_getpshared - Obtains the process-shared
attribute of a read-write lock attributes object
const pthread_rwlockattr_t *attr,
int *pshared );
DECthreads POSIX 1003.1c Library (libpthread.so)
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.
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.
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.
Manuals: Guide to DECthreads and Programmer's Guide
[ Back ]