Initializes an attribute object for a reader-writer lock.
#include <pthread.h> int pthread_rwlockattr_init ( pthread_rwlockattr_t *attr);
(IN) Points to an attribute structure for reader-writer locks.
Returns zero.
The attribute object is initialized with default values. The lock is marked private to the process and is provide with a generic name of "pthread rwlock".