summaryrefslogtreecommitdiff
path: root/src/stdio/scanf.c
blob: 3b35bdce21f60b8919f7c4381cf1fc3e3c79a974 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdio.h>
#include <stdarg.h>

int scanf(const char *restrict fmt, ...)
{
	int ret;
	va_list ap;
	va_start(ap, fmt);
	ret = vscanf(fmt, ap);
	va_end(ap);
	return ret;
}