summaryrefslogtreecommitdiff
path: root/src/wchar/vfwscanf.c
blob: 617ee56d3e56d13fc6504458c9bbc75d063e28cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#if 0

#include <stdio.h>
#include <wchar.h>
#include "stdio/_stdio.h"

#if __STDC_VERSION__ < 199901L
	static
#endif

int vfwscanf(FILE * restrict stream, const wchar_t * restrict format, va_list arg)
{
	SIGNAL_SAFE(0);
	/* TODO: overlap */

	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)
*/


#endif