Clarify msgsz.

This commit is contained in:
skrll 2013-07-24 11:42:50 +00:00
parent 0c8e14c9e8
commit 9c3b844c69
2 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: msgrcv.2,v 1.20 2012/05/15 11:37:01 reinoud Exp $
.\" $NetBSD: msgrcv.2,v 1.21 2013/07/24 11:42:50 skrll Exp $
.\"
.\" Copyright (c) 1995 Frank van der Linden
.\" All rights reserved.
@ -90,8 +90,10 @@ less than or equal to the absolute value of
will be received.
.El
.Pp
The argument
.Fa msgsz
specifies the maximum length of the requested message.
specifies the size in bytes of
.Va mtext .
If the received message has a length greater than
.Fa msgsz
it will be silently truncated if the

View File

@ -1,4 +1,4 @@
.\" $NetBSD: msgsnd.2,v 1.18 2010/04/30 04:06:20 jruoho Exp $
.\" $NetBSD: msgsnd.2,v 1.19 2013/07/24 11:42:50 skrll Exp $
.\"
.\" Copyright (c) 1995 Frank van der Linden
.\" All rights reserved.
@ -69,7 +69,9 @@ be used for selecting messages (see
.Xr msgrcv 2 ) .
The
.Va mtext
field is an array of bytes, with size up to the system limit
field is an array of bytes of length
.Fa msgsz ,
with size up to the system limit
.Dv MSGMAX .
.Pp
If the number of bytes already on the message queue plus