Destroys a condition variable attributes object.
pthread_condattr_destroy( attr );
Argument Data Type Accessattr opaque pthread_ write condattr_t
#includeint pthread_condattr_destroy ( pthread_condattr_t *attr);
Condition variables that were created using this attributes object are not affected by the deletion of the condition variable attributes object.
After calling this routine, the results of using attr in a call to any routine (other than pthread_condattr_init) are unpredictable.
Return Description0 Successful completion. [EINVAL] The attributes object specified by attr is invalid.
pthread_condattr_init