summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-08-31 09:57:38 +0000
committerru <ru@FreeBSD.org>2001-08-31 09:57:38 +0000
commit69224c0edd32d46efbcdb9ad329891e820f0898a (patch)
tree65bbba65df60768dc6db7a914e08a7bc71bc3e5a /lib/libpthread
parent0cdbf7e134168f454f352752441a010d764e8cd0 (diff)
downloadFreeBSD-src-69224c0edd32d46efbcdb9ad329891e820f0898a.zip
FreeBSD-src-69224c0edd32d46efbcdb9ad329891e820f0898a.tar.gz
Use ``.Rv -std'' wherever possible.
Submitted by: yar
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 61a21be..d015b90 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
OpenPOWER on IntegriCloud