Main index | Section 3 | Options |
#include <semaphore.h>
[EINVAL] | |
The sem argument points to an invalid semaphore. | |
[EBUSY] | |
There are currently threads blocked on the semaphore that sem points to. | |
POSIX does not define the behavior of sem_destroy() if called while there are threads blocked on sem, but this implementation is guaranteed to return -1 and set errno to EBUSY if there are threads blocked on sem.
SEM_DESTROY (3) | February 15, 2000 |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.