diff options
Diffstat (limited to 'lib/libc/sys/msgctl.2')
-rw-r--r-- | lib/libc/sys/msgctl.2 | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/libc/sys/msgctl.2 b/lib/libc/sys/msgctl.2 index e6d8be987d4..dfacd93a7f8 100644 --- a/lib/libc/sys/msgctl.2 +++ b/lib/libc/sys/msgctl.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: msgctl.2,v 1.8 1999/06/05 04:16:08 aaron Exp $ +.\" $OpenBSD: msgctl.2,v 1.9 1999/06/29 14:10:08 aaron Exp $ .\" $NetBSD: msgctl.2,v 1.2 1997/03/27 08:20:35 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -117,7 +117,7 @@ The values are taken from the corresponding fields in the structure pointed to by .Fa buf . This operation can only be executed by the super-user, or a process that -has an effective user ID equal to either +has an effective user ID equal to either .Va msg_perm.cuid or .Va msg_perm.uid @@ -126,7 +126,9 @@ The value of .Va msg_qbytes can only be increased by the super-user. Values for .Va msg_qbytes -that exceed the system limit (MSGMNB from +that exceed the system limit +.Pf ( Dv MSGMNB +from .Aq Pa sys/msg.h ) are silently truncated to that limit. .Pp @@ -134,7 +136,7 @@ are silently truncated to that limit. Remove the message queue specified by .Fa msqid and destroy the data associated with it. Only the super-user or a process -with an effective UID equal to the +with an effective UID equal to the .Va msg_perm.cuid or .Va msg_perm.uid @@ -160,7 +162,7 @@ effective GID can match either or .Va msg_perm.gid . .Sh RETURN VALUES -Upon successful completion, a value of 0 is returned. Otherwise, -1 is +Upon successful completion, a value of 0 is returned. Otherwise, \-1 is returned and the global variable .Va errno is set to indicate the error. |