This commit is contained in:
Michael Kerrisk 2006-08-03 02:25:12 +00:00
parent 0bc4d7f9ce
commit 4509e795de
2 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,7 @@ If one or more processes or threads are blocked
waiting to lock the semaphore with
.BR sem_wait (3),
POSIX.1-2001 permits two possibilities for the value returned in
.I sval:
.IR sval :
either 0 is returned;
or a negative number whose absolute value is the count
of the number of processes and threads currently blocked in

View File

@ -116,6 +116,7 @@ The following additional error can occur for
.B EAGAIN
The operation could not be performed without blocking (i.e., the
semaphore currently has the value zero).
.PP
The following additional errors can occur for
.BR sem_timedwait ():
.TP