summaryrefslogtreecommitdiff
path: root/src/stdio/vfscanf.c
blob: 6c0f97eeb16fb9f1eff4af032c8c31f34441e4e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdio.h>
#include "nonstd/io.h"

int vfscanf(FILE * restrict stream, const char * restrict format, va_list arg)
{
	int ret = 0;
	struct io_options opt = {0};
	opt.fnname = __func__;
	opt.stream = stream;
	ret = __scanf(&opt, format, arg);
	return ret;
}

/*
STDC(199901)
*/