1 /*
2  * fprintf.c
3  */
4 
5 #include <stdio.h>
6 #include <stdarg.h>
7 
fprintf(FILE * file,const char * format,...)8 int fprintf(FILE * file, const char *format, ...)
9 {
10     va_list ap;
11     int rv;
12 
13     va_start(ap, format);
14     rv = vfprintf(file, format, ap);
15     va_end(ap);
16     return rv;
17 }
18