diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2006-10-12 11:42:41 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2006-10-12 11:42:41 +0000 |
commit | 09bd310c91ecfeb5893a0d4904783ff1e6c59d96 (patch) | |
tree | 123c78353b5cfe5199bc1c6b327d34e66c61fda9 | |
parent | 1abf0e15d5b930c1cd5325e0e7037c18ca541524 (diff) | |
download | src-09bd310c91ecfeb5893a0d4904783ff1e6c59d96.tar.gz src-09bd310c91ecfeb5893a0d4904783ff1e6c59d96.zip |
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
Notes
Notes:
svn path=/head/; revision=163266
-rw-r--r-- | lib/libc/gen/msgsnd.3 | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/libc/gen/msgsnd.3 b/lib/libc/gen/msgsnd.3 index 89e9d753ec11..fc802b38ba7b 100644 --- a/lib/libc/gen/msgsnd.3 +++ b/lib/libc/gen/msgsnd.3 @@ -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 |