aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/semctl.2
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-12-19 09:40:28 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-12-19 09:40:28 +0000
commit2efeeba554cbd7bdee9cfe17641c8bd335c7972f (patch)
treef0781cb8e5be3a35234a6d0c123d6ae11ba70e40 /lib/libc/sys/semctl.2
parent3ca4c01eea0e54f4f560aff65f774d6bd0b0b87c (diff)
Notes
Diffstat (limited to 'lib/libc/sys/semctl.2')
-rw-r--r--lib/libc/sys/semctl.26
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/sys/semctl.2 b/lib/libc/sys/semctl.2
index b5a33bab920c0..b69b8fb3caaca 100644
--- a/lib/libc/sys/semctl.2
+++ b/lib/libc/sys/semctl.2
@@ -53,7 +53,7 @@ is required for certain values of
.Fa cmd .
For the commands that use the
.Fa arg
-parameter,
+argument,
.Fa "union semun"
is defined as follows:
.Bd -literal
@@ -136,7 +136,7 @@ in any process are cleared.
.El
.Pp
The
-.Fa "struct semid_ds"
+.Vt "struct semid_ds"
is defined as follows:
.Bd -literal
.\"
@@ -177,7 +177,9 @@ will fail if:
No semaphore set corresponds to
.Fa semid .
.It Bq Er EINVAL
+The
.Fa semnum
+argument
is not in the range of valid semaphores for given semaphore set.
.It Bq Er EPERM
The calling process's effective uid does not match the uid of