aboutsummaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-08-31 09:57:38 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-08-31 09:57:38 +0000
commitd6002fef6feb2d8cd11929b6e0bf0d868101334b (patch)
tree65bbba65df60768dc6db7a914e08a7bc71bc3e5a /lib/libpthread
parent1b08f101baa4608e737d8d6e3750d2a7f04f2283 (diff)
Notes
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/man/sem_wait.39
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/libpthread/man/sem_wait.3 b/lib/libpthread/man/sem_wait.3
index 61a21be84aedd..d015b909ca84c 100644
--- a/lib/libpthread/man/sem_wait.3
+++ b/lib/libpthread/man/sem_wait.3
@@ -57,14 +57,7 @@ function decrements (locks) the semaphore pointed to by
only if the value is non-zero. Otherwise, the semaphore is not decremented and
an error is returned.
.Sh RETURN VALUES
-If successful,
-.Fn sem_wait
-and
-.Fn sem_trywait
-return 0. Otherwise, -1 is returned and
-.Va errno
-is set to indicate the type of
-error.
+.Rv -std
.Sh ERRORS
.Fn sem_wait
and