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

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

/*
STDC(199409)
*/