Module Name: src Committed By: skrll Date: Wed Jul 24 11:42:51 UTC 2013
Modified Files: src/lib/libc/sys: msgrcv.2 msgsnd.2 Log Message: Clarify msgsz. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/lib/libc/sys/msgrcv.2 cvs rdiff -u -r1.18 -r1.19 src/lib/libc/sys/msgsnd.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/sys/msgrcv.2 diff -u src/lib/libc/sys/msgrcv.2:1.20 src/lib/libc/sys/msgrcv.2:1.21 --- src/lib/libc/sys/msgrcv.2:1.20 Tue May 15 11:37:01 2012 +++ src/lib/libc/sys/msgrcv.2 Wed Jul 24 11:42:50 2013 @@ -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 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 Index: src/lib/libc/sys/msgsnd.2 diff -u src/lib/libc/sys/msgsnd.2:1.18 src/lib/libc/sys/msgsnd.2:1.19 --- src/lib/libc/sys/msgsnd.2:1.18 Fri Apr 30 04:06:20 2010 +++ src/lib/libc/sys/msgsnd.2 Wed Jul 24 11:42:50 2013 @@ -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