Name
pthread_mutex_destroy --
Description
The pthread_mutex_destroy function
destroys the given mutex. If the mutex is already
destroyed, then errno is set to
EINVAL. If the mutex is locked, then
errno is set to EBUSY.
Returns
The pthread_mutex_destroy
function returns zero if the call is successful,
otherwise it sets errno and
returns -1.
Implementation Notes
None