pthread_mutexattr_delete(3-thr) pthread_mutexattr_delete(3-thr)
NAME
pthreadmutexattrdelete - deletes a mutex attributes object
SYNOPSIS
#include <pthread.h>
int pthreadmutexattrdelete(pthreadmutexattrt *attr);
PARAMETERS
attr Mutex attributes object deleted.
DESCRIPTION
The pthreadmutexattrdelete() routine deletes a mutex attributes
object. Call this routine when a mutex attributes object is no longer
referenced by the pthreadmutexattrcreate() routine.
This routine gives permission to reclaim storage for the mutex attri-
butes object. Mutexes that were created using this attributes object
are not affected by the deletion of the mutex attributes object.
The results of calling this routine are unpredictable if the attri-
butes object specified in the attr parameter does not exist.
RETURN VALUES
If the function fails, errno may be set to one of the following
values:
EINVAL The value specified by attr is invalid.
SEE ALSO
pthreadmutexattrcreate(3-thr).
Page 1 Reliant UNIX 5.44 Printed 11/98