Detroys a mutex attributes object.
pthread_mutexattr_destroy( attr );
Argument Data Type Accessattr opaque pthread_ write mutexattr_t
#includeint pthread_mutexattr_destroy ( pthread_mutexattr_t *attr);
This routine gives permission to reclaim storage for the mutex attributes object. Mutexes that were created using this attributes object are not affected by the destruction of the mutex attributes object.
The results of calling this routine are unpredictable if the attributes object specified in the attr argument does not exist.
Return Description0 Successful completion. [EINVAL] The object value specified by attr is invalid.
pthread_mutexattr_init