summaryrefslogtreecommitdiff
path: root/src/wchar/vswprintf.c
blob: 022bf4c5cf5408fa9cfc333571385f377c6ceace (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
#if 0

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

int vswprintf(wchar_t * restrict s, size_t n, const wchar_t * restrict format, va_list arg)
{
	SIGNAL_SAFE(0);
	/* TODO: overlap */

	int ret = 0;
	struct io_options opt = {0};
	opt.fnname = "vswprintf";
	opt.wstring = s;
	opt.maxlen = n;
	ret = __printf(&opt, (const char*)format, arg);
	return ret;
}

/*
STDC(199409)
*/


#endif