man-pages/man-pages-3.35-printf.patch
Peter Schiffer bd3973caf3 - resolves: #751620
update to 3.35
- resolves: #723578
  typo in readlink(3p)
2011-11-11 18:28:39 +01:00

16 lines
446 B
Diff

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 (),