pthread_attr_delete(3)
NAME
pthread_attr_delete - Deletes a thread attributes object
SYNOPSIS
#include <pthread.h> int pthread_attr_delete( pthread_attr_t *attr);
PARAMETERS
attrThread attributes object deleted.
DESCRIPTION
The pthread_attr_delete() routine deletes a thread attributes object and gives permission to reclaim storage for the thread attributes object. Threads that were created using this thread attributes object are not affected by the deletion of the thread attributes object. The results of calling this routine are unpredictable if the value specified by the attr parameter refers to a thread attributes object that does not exist.
RETURN VALUES
If the function fails, errno may be set to one of the following values:
| Return | Error | Description |
| 0 | Successful completion. | |
| \-1 | [EINVAL] | The value specified by attr is invalid. |
RELATED INFORMATION
Functions: pthread_attr_create(3).
Hewlett-Packard Company — OSF DCE 1.1/HP DCE 1.5