aboutsummaryrefslogtreecommitdiffstats
path: root/man3/printf.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2014-01-17 20:46:49 +1300
committerMichael Kerrisk <mtk.manpages@gmail.com>2014-01-17 20:46:49 +1300
commitbc9d68d53eb6b12cb13f0bd912c40ffd02cf715d (patch)
tree798eacfcf057a67b8bfee194065cb3a3565ac183 /man3/printf.3
parent5bdd426030ad26b936674937cfcf6f3f0c3664fc (diff)
downloadman-pages-bc9d68d53eb6b12cb13f0bd912c40ffd02cf715d.tar.gz
printf.3: Samll reorganization of text in EXAMPLE
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/printf.3')
-rw-r--r--man3/printf.36
1 files changed, 3 insertions, 3 deletions
diff --git a/man3/printf.3 b/man3/printf.3
index 43f20dc350..e948bd294e 100644
--- a/man3/printf.3
+++ b/man3/printf.3
@@ -1026,9 +1026,6 @@ one might obtain "Sonntag, 3. Juli, 10:02".
.PP
To allocate a sufficiently large string and print into it
(code correct for both glibc 2.0 and glibc 2.1):
-.PP
-If truncation occurs in glibc versions prior to 2.0.6, this is treated as an
-error instead of being handled gracefully.
.nf
#include <stdio.h>
@@ -1082,6 +1079,9 @@ make_message(const char *fmt, ...)
}
}
.fi
+.PP
+If truncation occurs in glibc versions prior to 2.0.6, this is treated as an
+error instead of being handled gracefully.
.SH SEE ALSO
.BR printf (1),
.BR asprintf (3),