Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 1 | #include <stdio.h> |
2 | #include <stdarg.h> | ||||
3 | |||||
Rich Felker | 400c5e5 | 2012-09-06 22:44:55 -0400 | [diff] [blame] | 4 | int fprintf(FILE *restrict f, const char *restrict fmt, ...) |
Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 5 | { |
6 | int ret; | ||||
7 | va_list ap; | ||||
8 | va_start(ap, fmt); | ||||
9 | ret = vfprintf(f, fmt, ap); | ||||
10 | va_end(ap); | ||||
11 | return ret; | ||||
12 | } |