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

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