read.2: Rework text in DESCRIPTION that talks about limits for 'count'

See https://bugzilla.kernel.org/show_bug.cgi?id=86061

Reported-by: Kai NODA <nodakai@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-01-26 12:05:34 +13:00
parent 68210340d4
commit 6435869d7e
1 changed files with 3 additions and 2 deletions

View File

@ -73,11 +73,12 @@ with a
.I count
of 0 returns zero and has no other effects.
If
According to POSIX.1, if
.I count
is greater than
.BR SSIZE_MAX ,
the result is unspecified.
the result is implementation-defined;
see NOTES for the upper limit on Linux.
.SH RETURN VALUE
On success, the number of bytes read is returned (zero indicates end of
file), and the file position is advanced by this number.