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

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

/*
STDC(199901)
*/