summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/man/sem_wait.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/man/sem_wait.3')
-rw-r--r--lib/libpthread/man/sem_wait.39
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libpthread/man/sem_wait.3 b/lib/libpthread/man/sem_wait.3
index 25a0b05..9294367 100644
--- a/lib/libpthread/man/sem_wait.3
+++ b/lib/libpthread/man/sem_wait.3
@@ -59,10 +59,11 @@ an error is returned.
.Sh RETURN VALUES
.Rv -std
.Sh ERRORS
+The
.Fn sem_wait
and
.Fn sem_trywait
-will fail if:
+functions will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
.Fa sem
@@ -77,10 +78,12 @@ will fail if:
The semaphore value was zero, and thus could not be decremented.
.El
.Sh SEE ALSO
-.Xr sem_post 3
+.Xr sem_post 3 ,
+.Xr sem 4
.Sh STANDARDS
+The
.Fn sem_wait
and
.Fn sem_trywait
-conform to
+functions conform to
.St -p1003.1-96 .
OpenPOWER on IntegriCloud