summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2003-06-08 10:13:50 +0000
committercharnier <charnier@FreeBSD.org>2003-06-08 10:13:50 +0000
commit9efd223c5da1fd41a415fd566ae8b79d148eebcb (patch)
treea4474457612d5a6b1a3cf4e28b52d92ed04978b9 /lib/libc
parentdbdacbc9a69526f91bab403adb41496e6c70b411 (diff)
downloadFreeBSD-src-9efd223c5da1fd41a415fd566ae8b79d148eebcb.zip
FreeBSD-src-9efd223c5da1fd41a415fd566ae8b79d148eebcb.tar.gz
The .Fn function
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/sem_post.39
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc/gen/sem_post.3 b/lib/libc/gen/sem_post.3
index 3334865..b36c80f 100644
--- a/lib/libc/gen/sem_post.3
+++ b/lib/libc/gen/sem_post.3
@@ -49,13 +49,15 @@ is called, then the highest priority thread that has been blocked the longest on
the semaphore will be allowed to return from
.Fn sem_wait .
.Pp
+The
.Fn sem_post
-is signal-reentrant and may be called within signal handlers.
+function is signal-reentrant and may be called within signal handlers.
.Sh RETURN VALUES
.Rv -std sem_post
.Sh ERRORS
+The
.Fn sem_post
-will fail if:
+function will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
.Fa sem
@@ -66,6 +68,7 @@ points to an invalid semaphore.
.Xr sem_wait 3 ,
.Xr sem 4
.Sh STANDARDS
+The
.Fn sem_post
-conforms to
+function conforms to
.St -p1003.1-96 .
OpenPOWER on IntegriCloud