printf.3: Samll reorganization of text in EXAMPLE

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-01-17 20:46:49 +13:00
parent 5bdd426030
commit bc9d68d53e
1 changed files with 3 additions and 3 deletions

View File

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