Destroys an attribute object for a reader-writer lock.
#include <pthread.h> int pthread_rwlockattr_destroy ( pthread_rwlockattr_t *attr);
(IN) Points to an attribute object for reader-writer locks.
Returns zero.
The attribute object is destroyed and all resources released. If the attribute object has been used to acquire locks, the destruction does not affect any initialized reader-writer locks.