summaryrefslogtreecommitdiff
path: root/lib/libc/gen/msgctl.3
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/gen/msgctl.3
parent3ca4c01eea0e54f4f560aff65f774d6bd0b0b87c (diff)
Notes
Diffstat (limited to 'lib/libc/gen/msgctl.3')
-rw-r--r--lib/libc/gen/msgctl.36
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libc/gen/msgctl.3 b/lib/libc/gen/msgctl.3
index 45db2b91a66a4..b0264b5428c7f 100644
--- a/lib/libc/gen/msgctl.3
+++ b/lib/libc/gen/msgctl.3
@@ -174,7 +174,9 @@ function
will fail if:
.Bl -tag -width Er
.It Bq Er EPERM
+The
.Fa cmd
+argument
is equal to IPC_SET or IPC_RMID and the caller is not the super-user, nor does
the effective uid match either the
.Va msg_perm.uid
@@ -190,13 +192,17 @@ but the caller is not the super-user.
The command is IPC_STAT
and the caller has no read permission for this message queue.
.It Bq Er EINVAL
+The
.Fa msqid
+argument
is not a valid message queue identifier.
.Pp
.Va cmd
is not a valid command.
.It Bq Er EFAULT
+The
.Fa buf
+argument
specifies an invalid address.
.El
.Sh SEE ALSO