2012-07-21 20:05:18 +00:00
|
|
|
/*
|
|
|
|
* COPYRIGHT: GNU GPL, see COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS crt library
|
2015-09-19 13:50:57 +00:00
|
|
|
* FILE: lib/sdk/crt/printf/_vscwprintf.c
|
2018-03-23 21:02:31 +00:00
|
|
|
* PURPOSE: Implementation of _vscwprintf
|
2012-07-21 20:05:18 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdarg.h>
|
|
|
|
|
2013-09-14 10:28:30 +00:00
|
|
|
int __cdecl wstreamout(FILE *stream, const wchar_t *format, va_list argptr);
|
2012-07-21 20:05:18 +00:00
|
|
|
|
2013-09-14 10:28:30 +00:00
|
|
|
int
|
2015-09-15 10:35:49 +00:00
|
|
|
__cdecl
|
2013-09-14 10:28:30 +00:00
|
|
|
_vscwprintf(
|
2018-03-23 21:02:31 +00:00
|
|
|
const wchar_t *format,
|
|
|
|
va_list argptr)
|
2012-07-21 20:05:18 +00:00
|
|
|
{
|
2018-03-08 20:38:40 +00:00
|
|
|
FILE nulfile;
|
|
|
|
nulfile._tmpfname = nulfile._ptr = nulfile._base = NULL;
|
|
|
|
nulfile._bufsiz = nulfile._charbuf = nulfile._cnt = 0;
|
|
|
|
nulfile._flag = _IOSTRG | _IOWRT;
|
2018-03-23 21:02:31 +00:00
|
|
|
return wstreamout(&nulfile, format, argptr);
|
2012-07-21 20:05:18 +00:00
|
|
|
}
|