summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/sem_wait.3
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2003-03-24 16:05:24 +0000
committercharnier <charnier@FreeBSD.org>2003-03-24 16:05:24 +0000
commitd0441d10b5801db1d53f885fa707ae3768d2c98d (patch)
tree71e3892a3a656b566e2fb0d980a8bc0a6fe0c300 /lib/libc/gen/sem_wait.3
parentf0ffe0ef9f006aa0c680f7def2d63f561eaade3f (diff)
downloadFreeBSD-src-d0441d10b5801db1d53f885fa707ae3768d2c98d.zip
FreeBSD-src-d0441d10b5801db1d53f885fa707ae3768d2c98d.tar.gz
The .Fn function. Use .Xr where appropriate.
Diffstat (limited to 'lib/libc/gen/sem_wait.3')
-rw-r--r--lib/libc/gen/sem_wait.36
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/gen/sem_wait.3 b/lib/libc/gen/sem_wait.3
index 84a17b3..735061e 100644
--- a/lib/libc/gen/sem_wait.3
+++ b/lib/libc/gen/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
@@ -80,8 +81,9 @@ The semaphore value was zero, and thus could not be decremented.
.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