Main index | Section 3 | Options |
#include <semaphore.h>
[EINVAL] | |
The sem argument points to an invalid semaphore. | |
The value of the semaphore is never negative, even if there are threads blocked on the semaphore. POSIX is somewhat ambiguous in its wording with regard to what the value of the semaphore should be if there are blocked waiting threads, but this behavior is conformant, given the wording of the specification.
SEM_GETVALUE (3) | February 15, 2000 |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.