summaryrefslogtreecommitdiff
path: root/src/wchar/swscanf.c
blob: dcb59728b0668f999210003b524d38a740a6efe4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <stdarg.h>
#include <wchar.h>

#if __STDC_VERSION__ < 199901L
#define vswscanf __vswscanf
#include "vswscanf.c"
#endif

int swscanf(const wchar_t * restrict s, const wchar_t * restrict format, ...)
{
	va_list ap;
	va_start(ap, format);
	int ret = vswscanf(s, format, ap);
	va_end(ap);
	return ret;
}

/*
STDC(199409)
*/