aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/semctl.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/semctl.2')
-rw-r--r--lib/libc/sys/semctl.28
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/sys/semctl.2 b/lib/libc/sys/semctl.2
index ea96a3894459..b5a33bab920c 100644
--- a/lib/libc/sys/semctl.2
+++ b/lib/libc/sys/semctl.2
@@ -40,7 +40,9 @@
.Ft int
.Fn semctl "int semid" "int semnum" "int cmd" ...
.Sh DESCRIPTION
-.Fn Semctl
+The
+.Fn semctl
+system call
performs the operation indicated by
.Fa cmd
on the semaphore set indicated by
@@ -166,7 +168,9 @@ On failure, -1 is returned, and
.Va errno
is set to indicate the error.
.Sh ERRORS
-.Fn Semctl
+The
+.Fn semctl
+system call
will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL