diff options
Diffstat (limited to 'libbb/xfuncs_printf.c')
-rw-r--r-- | libbb/xfuncs_printf.c | 5 |
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 | ||
323 | int 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. */ |
325 | void FAST_FUNC xprint_and_close_file(FILE *file) | 330 | void FAST_FUNC xprint_and_close_file(FILE *file) |