1c2c66affSColin Finck /* 2c2c66affSColin Finck * COPYRIGHT: GNU GPL, see COPYING in the top level directory 3c2c66affSColin Finck * PROJECT: ReactOS crt library 4c2c66affSColin Finck * FILE: lib/sdk/crt/printf/_vscwprintf.c 5*fd6e2d75SHermès Bélusca-Maïto * PURPOSE: Implementation of _vscwprintf 6c2c66affSColin Finck */ 7c2c66affSColin Finck 8c2c66affSColin Finck #include <stdio.h> 9c2c66affSColin Finck #include <stdarg.h> 10c2c66affSColin Finck 11c2c66affSColin Finck int __cdecl wstreamout(FILE *stream, const wchar_t *format, va_list argptr); 12c2c66affSColin Finck 13c2c66affSColin Finck int 14c2c66affSColin Finck __cdecl _vscwprintf(const wchar_t * format,va_list argptr)15c2c66affSColin Finck_vscwprintf( 16c2c66affSColin Finck const wchar_t *format, 17c2c66affSColin Finck va_list argptr) 18c2c66affSColin Finck { 192f548599SMark Jansen FILE nulfile; 202f548599SMark Jansen nulfile._tmpfname = nulfile._ptr = nulfile._base = NULL; 212f548599SMark Jansen nulfile._bufsiz = nulfile._charbuf = nulfile._cnt = 0; 222f548599SMark Jansen nulfile._flag = _IOSTRG | _IOWRT; 23*fd6e2d75SHermès Bélusca-Maïto return wstreamout(&nulfile, format, argptr); 24c2c66affSColin Finck } 25