diff options
| author | skrll <skrll@NetBSD.org> | 2013-07-24 11:42:50 +0000 |
|---|---|---|
| committer | skrll <skrll@NetBSD.org> | 2013-07-24 11:42:50 +0000 |
| commit | 2ff78d15d1b9c4a28b9d15bbce2cddae96062e07 (patch) | |
| tree | e1cba887047806cc7528bb76e1c6db79b15ce31d /lib/libc/sys | |
| parent | cf599a172d93492e97d2e6405891c967e22383d9 (diff) | |
Clarify msgsz.
Diffstat (limited to 'lib/libc/sys')
| -rw-r--r-- | lib/libc/sys/msgrcv.2 | 6 | ||||
| -rw-r--r-- | lib/libc/sys/msgsnd.2 | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/lib/libc/sys/msgrcv.2 b/lib/libc/sys/msgrcv.2 index 7538eeb5168..7a15a5c62ae 100644 --- a/lib/libc/sys/msgrcv.2 +++ b/lib/libc/sys/msgrcv.2 @@ -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 diff --git a/lib/libc/sys/msgsnd.2 b/lib/libc/sys/msgsnd.2 index 87621c08bc8..063965545aa 100644 --- a/lib/libc/sys/msgsnd.2 +++ b/lib/libc/sys/msgsnd.2 @@ -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 |
