PTHREAD_MUTEXATTR_DELETE(3P) SysV PTHREAD_MUTEXATTR_DELETE(3P)
NAME
pthread_mutexattr_delete - Deletes a mutex attributes object
SYNOPSIS
#include <pthread.h>
int pthread_mutexattr_delete (attr)
pthread_mutexattr_t *attr;
DESCRIPTION
The pthread_mutexattr_delete function deletes a mutex attributes object,
which allows the storage for attr to be reclaimed.
The attr argument specifies the address of the ID of the mutex attributes
object to be deleted.
NOTES
This interface is based on draft 4 of the IEEE P1003.4a standard, and
will be changed to conform to the final version.
DIAGNOSTICS
Upon successful completion, *attr is set to an illegal value, and a value
of 0 (zero) is returned. Otherwise, -1 is returned and errno is set to
indicate the error.
ERRORS
If the pthread_mutexattr_delete function fails, errno may be set to the
following value:
[EINVAL] The value specified by the attr argument is invalid.
SEE ALSO
pthread_mutexattr_create(3P)