aboutsummaryrefslogtreecommitdiffstats
path: root/man2/write.2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2017-01-26 12:08:38 +1300
committerMichael Kerrisk <mtk.manpages@gmail.com>2017-01-26 15:03:17 +1300
commitdfbb4842f927271d64b25f75c3e28e4a8fda90b1 (patch)
treef9953db7b9be80608521701301e74ffd2783b292 /man2/write.2
parent6435869d7e9b19abce23da619ae99137f99210e1 (diff)
downloadman-pages-dfbb4842f927271d64b25f75c3e28e4a8fda90b1.tar.gz
write.2: Alert the reader that there is a limit on '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>
Diffstat (limited to 'man2/write.2')
-rw-r--r--man2/write.27
1 files changed, 7 insertions, 0 deletions
diff --git a/man2/write.2 b/man2/write.2
index 4c0cca4767..05dc28a7b2 100644
--- a/man2/write.2
+++ b/man2/write.2
@@ -86,6 +86,13 @@ that can be proved to occur after a
.BR write ()
has returned will return the new data.
Note that not all filesystems are POSIX conforming.
+
+According to POSIX.1, if
+.I count
+is greater than
+.BR SSIZE_MAX ,
+the result is implementation-defined;
+see NOTES for the upper limit on Linux.
.SH RETURN VALUE
On success, the number of bytes written is returned (zero indicates
nothing was written).