2 * COPYRIGHT: GNU GPL, see COPYING in the top level directory
3 * PROJECT: ReactOS crt library
4 * FILE: lib/sdk/crt/printf/_vsnwprintf.c
5 * PURPOSE: Implementation of _vsnwprintf
6 * PROGRAMMER: Timo Kreuzer
12 int _cdecl
wstreamout(FILE *stream
, const wchar_t *format
, va_list argptr
);
19 const wchar_t *format
,
25 stream
._base
= (char*)buffer
;
26 stream
._ptr
= stream
._base
;
27 stream
._bufsiz
= count
* sizeof(wchar_t);
28 stream
._cnt
= stream
._bufsiz
;
29 stream
._flag
= _IOSTRG
| _IOWRT
;
33 result
= wstreamout(&stream
, format
, argptr
);
34 *(wchar_t*)stream
._ptr
= L
'\0';