NAME
pptthhrreeaaddccoonnddddeessttrrooyy - destroy a condition variable
SYNOPSIS
##iinncclluuddee <
int pptthhrreeaaddccoonnddddeessttrrooyy(pthreadcondt *cond);> DESCRIPTION
The pptthhrreeaaddccoonnddddeessttrrooyy() function frees the resources allocated by the condition variable cond.RETURN VALUES
If successful, the pptthhrreeaaddccoonnddddeessttrrooyy() function will return zero, oth-
erwise an error number will be returned to indicate the error. EERRRROORRSS pptthhrreeaaddccoonnddddeessttrrooyy() will fail if: [EINVAL] The value specified by cond is invalid. [EBUSY] The variable cond is locked by another thread.SEE ALSO
pthreadcondbroadcast(3), pthreadcondinit(3), pthreadcondsignal(3), pthreadcondtimedwait(3), pthreadcondwait(3) STANDARDSpptthhrreeaaddccoonnddddeessttrrooyy() conforms to ISO/IEC 9945-1:1996 (``POSIX.1'').
BSD July 28, 1998 BSD