summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/sem_init.3
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-07-02 16:45:56 +0000
committerru <ru@FreeBSD.org>2004-07-02 16:45:56 +0000
commit9d678b540a55cef6a0dc68e22adef0aa02d0aaa1 (patch)
tree78dccaeba712e69b1159fb258d39913bc17f4612 /lib/libc/gen/sem_init.3
parent627ed40f49cb6d2aba1199b177f148ec46edb90d (diff)
downloadFreeBSD-src-9d678b540a55cef6a0dc68e22adef0aa02d0aaa1.zip
FreeBSD-src-9d678b540a55cef6a0dc68e22adef0aa02d0aaa1.tar.gz
Markup tidying.
Diffstat (limited to 'lib/libc/gen/sem_init.3')
-rw-r--r--lib/libc/gen/sem_init.39
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libc/gen/sem_init.3 b/lib/libc/gen/sem_init.3
index c55cd75..d18f5e2 100644
--- a/lib/libc/gen/sem_init.3
+++ b/lib/libc/gen/sem_init.3
@@ -26,6 +26,7 @@
.\" EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\" $FreeBSD$
+.\"
.Dd February 15, 2000
.Dt SEM_INIT 3
.Os
@@ -71,8 +72,10 @@ The
function will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
+The
.Fa value
-exceeds SEM_VALUE_MAX.
+argument exceeds
+.Dv SEM_VALUE_MAX .
.It Bq Er ENOSPC
Memory allocation error.
.It Bq Er EPERM
@@ -95,7 +98,9 @@ by setting
.Va errno
to
.Er EPERM .
-This is perhaps a stretch of the intention of POSIX, but is
+This is perhaps a stretch of the intention of
+.Tn POSIX ,
+but is
compliant, with the caveat that
.Fn sem_init
always reports a permissions error when an attempt to create a shared semaphore
OpenPOWER on IntegriCloud