Destroys a thread attributes object.
pthread_attr_destroy( attr );
Argument Data Type Accessattr opaque pthread_attr_t modify
#includeint pthread_attr_destroy ( pthread_attr_t *attr);
Threads that were created using this thread attributes object are not affected by the destruction of the thread attributes object.
The results of calling this routine are unpredictable if the value specified by the attr argument refers to a thread attributes object that does not exist.
Return Description0 Successful completion. [EINVAL] The value specified by attr is invalid.
pthread_attr_init pthread_create