PTHREAD_CONDATTR_DELETE(3P) BSD PTHREAD_CONDATTR_DELETE(3P)
NAME
pthread_condattr_delete - Deletes a condition variable attributes object
SYNOPSIS
#include <pthread.h>
int pthread_condattr_delete (attr)
pthread_condattr_t *attr;
DESCRIPTION
The pthread_condattr_delete function deletes a condition variable
attributes object, which allows the resources for attr to be reclaimed.
The attr argument specifies the address of the ID of the condition
variable 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, the attr argument 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_condattr_delete function fails, errno may be set to the
following value:
[EINVAL] The value specified by the attr argument is invalid.
SEE ALSO
pthread_cond_init(3P), pthread_condattr_create(3P)