1 <assertions> 2 <assertion id="1" tag="ref:XSH6:35098:35099"> 3 The function 4 int pthread_rwlockattr_destroy(pthread_rwlockattr_t *attr) 5 destroys a read write attributes objects. 6 </assertion> 7 <assertion id="2" tag="ref:XSH6:35098:35099"> 8 A destroyed 'attr' attributes object can be reinitialized using 9 pthread_rwlockattr_init(); 10 </assertion> 11 <assertion id="3" tag="ref:XSH6:35110:35111"> 12 If success, it returns 0. 13 </assertion> 14 <assertion id="4" tag="ref:XSH6:35113:35117"> 15 An error number may be returned if: 16 [EINVAL] The value specified by 'attr' is invalid 17 This function shall not return an error ecode of [EINTR] 18 </assertion> 19 </assertions> 20