Index: lib/libc/sys/msgrcv.2 =================================================================== RCS file: /cvsroot/src/lib/libc/sys/msgrcv.2,v retrieving revision 1.20 diff -u -p -u -r1.20 msgrcv.2 --- lib/libc/sys/msgrcv.2 15 May 2012 11:37:01 -0000 1.20 +++ lib/libc/sys/msgrcv.2 24 Jul 2013 06:58:00 -0000 @@ -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: lib/libc/sys/msgsnd.2 =================================================================== RCS file: /cvsroot/src/lib/libc/sys/msgsnd.2,v retrieving revision 1.18 diff -u -p -u -r1.18 msgsnd.2 --- lib/libc/sys/msgsnd.2 30 Apr 2010 04:06:20 -0000 1.18 +++ lib/libc/sys/msgsnd.2 24 Jul 2013 06:58:00 -0000 @@ -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