]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
read.2: Rework text in DESCRIPTION that talks about limits for 'count'
authorMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 25 Jan 2017 23:05:34 +0000 (12:05 +1300)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 26 Jan 2017 02:03:11 +0000 (15:03 +1300)
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>
man2/read.2

index 4f902dadda4dcccff6b6b6cbb80832fc86586eac..fcd48c21c3c84a53a3a1612c021e238bc3bccdcd 100644 (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.