Actions
Bug #4926
closedsem_timedwait(3c) man page missing EAGAIN description
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
manpage - manual pages
Start date:
2014-06-16
Due date:
% Done:
0%
Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
Description
The current sem_timedwait(3c) manpage does not list EAGAIN as a possible error value. However, sem_wait(3c) does. Testing does show that sem_timedwait(3c) can return EAGAIN.
As the error for sem_wait(3c) means 'already locked', the distinction between bounded and unbounded wait time here is irrelevant and EAGAIN should be documented in the sem_timedwait manpage.
Updated by Jason King about 8 years ago
Gah it's late -- this should be sem*a*_timedwait. However as the Posix versions are nothing but thin wrappers to the Solaris sema_ versions, this is also true for their man page as well.
Updated by Jason King about 8 years ago
- Status changed from New to Rejected
There was a subtle bug in the test that took me an embarrassingly long amount of time to spot. With that fixed (and with closer inspection of the source), this is not a bug.
Actions