ptg10805159
874 Function Prototypes Appendix A
int pthread_mutex_unlock(pthread_mutex_t *mutex);
<pthread.h> p. 400
Returns: 0 if OK, error number on failure
int pthread_once(pthread_once_t *initflag,void (*initfn)(void));
<pthread.h> p. 448
pthread_once_tinitflag=PTHREAD_ONCE_INIT;
Returns: 0 if OK, error number on failure
int pthread_rwlockattr_destroy(pthread_rwlockattr_t *attr);
<pthread.h> p. 439
Returns: 0 if OK, error number on failure
int pthread_rwlockattr_getpshared(const pthread_rwlockattr_t
*restrictattr,
int *restrictpshared);
<pthread.h> p. 440
Returns: 0 if OK, error number on failure
int pthread_rwlockattr_init(pthread_rwlockattr_t *attr);
<pthread.h> p. 439
Returns: 0 if OK, error number on failure
int pthread_rwlockattr_setpshared(pthread_rwlockattr_t *attr,
intpshared);
<pthread.h> p. 440
pshared:PTHREAD_PROCESS_PRIVATE,
PTHREAD_PROCESS_SHARED
Returns: 0 if OK, error number on failure
int pthread_rwlock_destroy(pthread_rwlock_t *rwlock);
<pthread.h> p. 409
Returns: 0 if OK, error number on failure
int pthread_rwlock_init(pthread_rwlock_t *restrictrwlock,
const pthread_rwlockattr_t
*restrictattr);
<pthread.h> p. 409
Returns: 0 if OK, error number on failure
int pthread_rwlock_rdlock(pthread_rwlock_t *rwlock);
<pthread.h> p. 410
Returns: 0 if OK, error number on failure