diff options
-rw-r--r-- | lib/libc/sys/msgsnd.2 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/sys/msgsnd.2 b/lib/libc/sys/msgsnd.2 index 466d4f60d5f..58cf6577a22 100644 --- a/lib/libc/sys/msgsnd.2 +++ b/lib/libc/sys/msgsnd.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: msgsnd.2,v 1.13 2006/08/07 20:00:01 jmc Exp $ +.\" $OpenBSD: msgsnd.2,v 1.14 2006/10/14 14:30:45 jmc Exp $ .\" $NetBSD: msgsnd.2,v 1.2 1997/03/27 08:20:36 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -59,7 +59,9 @@ char mtext[1]; /* body of message */ is an integer greater than 0 that can be used for selecting messages (see .Xr msgrcv 2 ) ; .Va mtext -is an array of bytes, with a size up to that of the system limit +is an array of +.Fa msgsz +bytes, with a size between 0 and that of the system limit .Pq Dv MSGMAX . .Pp If the number of bytes already on the message queue plus @@ -136,7 +138,7 @@ was waiting for a resource to become available in order to deliver the message. .Pp .Fa msgsz -is less than 0, or greater than +is greater than .Va msg_qbytes . .It Bq Er EACCES The calling process does not have write access to the message queue. |