NAME
pptthhrreeaaddmmuutteexxuunnlloocckk - unlock a mutex
SYNOPSIS
##iinncclluuddee <
int pptthhrreeaaddmmuutteexxuunnlloocckk(pthreadmutext *mutex);> DESCRIPTION
If the current thread holds the lock on mutex, then the pptthhrreeaaddmmuutteexxuunnlloocckk() function unlocks mutex.RETURN VALUES
If successful, pptthhrreeaaddmmuutteexxuunnlloocckk() will return zero, otherwise an error number will be returned to indicate the error. EERRRROORRSS pptthhrreeaaddmmuutteexxttrryylloocckk() will fail if: [EINVAL] The value specified by mutex is invalid. [EPERM] The current thread does not hold a lock on mutex.SEE ALSO
pthreadmutexdestroy(3), pthreadmutexinit(3), pthreadmutexlock(3), pthreadmutextrylock(3) STANDARDSpptthhrreeaaddmmuutteexxuunnlloocckk() conforms to ISO/IEC 9945-1:1996 (``POSIX.1'').
BSD July 30, 1998 BSD