NAME sem_destroy - destroy an unnamed semaphore CONTENTS Library Synopsis Description Return Values Errors See Also Standards LIBRARY .Lb libc SYNOPSIS .In semaphore.h int sem_destroy "sem_t *sem" DESCRIPTION The sem_destroy function destroys the unnamed semaphore pointed to by sem. After a successful call to sem_destroy, sem is unusable until re-initialized by another call to sem_init(3). RETURN VALUES .Rv -std sem_destroy ERRORS The sem_destroy function will fail if: