summaryrefslogblamecommitdiff
path: root/src/stdio/fprintf.c
blob: 948743f7c8b78821645f5eecb7a45f2285d3b78d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12


                   
                                                            







                                   
#include <stdio.h>
#include <stdarg.h>

int fprintf(FILE *restrict f, const char *restrict fmt, ...)
{
	int ret;
	va_list ap;
	va_start(ap, fmt);
	ret = vfprintf(f, fmt, ap);
	va_end(ap);
	return ret;
}