reactos/sdk/lib/crt/printf/_vscwprintf.c
2018-03-23 22:03:35 +01:00

25 lines
638 B
C

/*
* COPYRIGHT: GNU GPL, see COPYING in the top level directory
* PROJECT: ReactOS crt library
* FILE: lib/sdk/crt/printf/_vscwprintf.c
* PURPOSE: Implementation of _vscwprintf
*/
#include <stdio.h>
#include <stdarg.h>
int __cdecl wstreamout(FILE *stream, const wchar_t *format, va_list argptr);
int
__cdecl
_vscwprintf(
const wchar_t *format,
va_list argptr)
{
FILE nulfile;
nulfile._tmpfname = nulfile._ptr = nulfile._base = NULL;
nulfile._bufsiz = nulfile._charbuf = nulfile._cnt = 0;
nulfile._flag = _IOSTRG | _IOWRT;
return wstreamout(&nulfile, format, argptr);
}