|
pthread_rwlockattr_getpshared(3)
Contents
|
pthread_rwlockattr_getpshared - Obtains the process-shared
attribute of a read-write lock attributes object
#include <pthread.h>
int pthread_rwlockattr_getpshared(
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.
None
Functions: pthread_rwlockattr_setpshared(3),
pthread_rwlockattr_init(3)
Manuals: Guide to DECthreads and Programmer's Guide
pthread_rwlockattr_getpshared(3)
[ Back ] |