summaryrefslogtreecommitdiff
path: root/src/wchar/vfwscanf.c
blob: 9abbda0a4edc9091755a50044f6ae6f869bf7538 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "stdio.h"
#include <wchar.h>
#include "../stdio/_stdio.h"

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

/*
STDC(199901)
*/