mirror of https://github.com/mkerrisk/man-pages
printf.3: Samll reorganization of text in EXAMPLE
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
5bdd426030
commit
bc9d68d53e
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue