aboutsummaryrefslogtreecommitdiff
path: root/libbb/xfuncs_printf.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2021-02-05 11:24:06 +0000
committerRon Yorston <rmy@pobox.com>2021-02-05 11:24:06 +0000
commit32e19e7ae8b0d76d69871ba234e8f0af31baff4e (patch)
tree6fdc833a444e0dd6fd359b21a8d463856917a387 /libbb/xfuncs_printf.c
parent4fb71406b884c6ac0a9a4d2acf7a32b544611f70 (diff)
parentcad3fc743aa7c7744e4fcf044371f0fda50fa51f (diff)
downloadbusybox-w32-32e19e7ae8b0d76d69871ba234e8f0af31baff4e.tar.gz
busybox-w32-32e19e7ae8b0d76d69871ba234e8f0af31baff4e.tar.bz2
busybox-w32-32e19e7ae8b0d76d69871ba234e8f0af31baff4e.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'libbb/xfuncs_printf.c')
-rw-r--r--libbb/xfuncs_printf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libbb/xfuncs_printf.c b/libbb/xfuncs_printf.c
index 4bd19d471..d672e43e5 100644
--- a/libbb/xfuncs_printf.c
+++ b/libbb/xfuncs_printf.c
@@ -320,6 +320,11 @@ int FAST_FUNC bb_putchar(int ch)
320 return putchar(ch); 320 return putchar(ch);
321} 321}
322 322
323int FAST_FUNC fputs_stdout(const char *s)
324{
325 return fputs(s, stdout);
326}
327
323/* Die with an error message if we can't copy an entire FILE* to stdout, 328/* Die with an error message if we can't copy an entire FILE* to stdout,
324 * then close that file. */ 329 * then close that file. */
325void FAST_FUNC xprint_and_close_file(FILE *file) 330void FAST_FUNC xprint_and_close_file(FILE *file)