Document what "msgsz" argument really denotes. [1]

Don't say that "msgsz" can be less than 0, it cannot
as it's unsigned (POSIX has the same bug).

PR:		docs/101145 [1]
MFC after:	3 days
This commit is contained in:
Ruslan Ermilov 2006-10-12 11:42:41 +00:00
parent 1abf0e15d5
commit 09bd310c91

View File

@ -31,7 +31,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd November 24, 1997
.Dd October 12, 2006
.Dt MSGSND 3
.Os
.Sh NAME
@ -65,8 +65,13 @@ consist of the following members:
is an integer greater than 0 that can be used for selecting messages (see
.Xr msgrcv 3 ) ,
.Va mtext
is an array of bytes, with a size up to that of the system limit
.Pf ( Dv MSGMAX ) .
is an array of
.Fa msgsz
bytes.
The argument
.Fa msgsz
can range from 0 to a system-imposed maximum,
.Dv MSGMAX .
.Pp
If the number of bytes already on the message queue plus
.Fa msgsz
@ -144,7 +149,7 @@ message.
The
.Fa msgsz
argument
is less than 0, or greater than
is greater than
.Va msg_qbytes .
.Pp
The