man-pages/man-pages-3.35-printf.patch

16 lines
446 B
Diff
Raw Normal View History

diff -up man-pages-3.35/man3/printf.3.tmp man-pages-3.35/man3/printf.3
--- man-pages-3.35/man3/printf.3.tmp 2011-10-04 08:34:44.000000000 +0200
+++ man-pages-3.35/man3/printf.3 2011-11-11 13:58:11.299687241 +0100
@@ -107,6 +107,11 @@ write at most
.I size
bytes (including the terminating null byte (\(aq\e0\(aq)) to
.IR str .
+The terminating null byte is added to
+.IR str ,
+unless
+.IR size
+is zero.
.PP
The functions
.BR vprintf (),