diff options
Diffstat (limited to 'lib/libk/stdio/fprintf.c')
-rw-r--r-- | lib/libk/stdio/fprintf.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/libk/stdio/fprintf.c b/lib/libk/stdio/fprintf.c new file mode 100644 index 0000000..9a96dc6 --- /dev/null +++ b/lib/libk/stdio/fprintf.c @@ -0,0 +1,11 @@ +#include <stdio.h> + +int +fprintf(FILE *restrict stream, const char *restrict format, ...) +{ + va_list ap; + va_start(ap, format); + int c = vfprintf(stream, format, ap); + va_end(ap); + return c; +} |