summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/fprintf.c
blob: 4283b424596622c4b6e850fd1521655dfdaa3d96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdio.h>
#include <stdarg.h>

int fprintf(FILE *restrict stream, const char *restrict format, ...)
{
	int r;
	va_list ap;
	va_start(ap, format);
	r = vfprintf(stdout, format, ap);
	va_end(ap);
	return r;
}