blob: 948743f7c8b78821645f5eecb7a45f2285d3b78d [file] [log] [blame]
Rich Felker0b44a032011-02-12 00:22:29 -05001#include <stdio.h>
2#include <stdarg.h>
3
Rich Felker400c5e52012-09-06 22:44:55 -04004int fprintf(FILE *restrict f, const char *restrict fmt, ...)
Rich Felker0b44a032011-02-12 00:22:29 -05005{
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}