[SDK] Do not use a NUL file while calculating format string length
[reactos.git] / sdk / lib / crt / printf / vwprintf.c
1 /*
2 * COPYRIGHT: GNU GPL, see COPYING in the top level directory
3 * PROJECT: ReactOS crt library
4 * FILE: lib/sdk/crt/printf/vwprintf.c
5 * PURPOSE: Implementation of vwprintf
6 * PROGRAMMER: Timo Kreuzer
7 */
8
9 #include <stdio.h>
10 #include <stdarg.h>
11
12 int
13 __cdecl
14 vwprintf(const wchar_t *format, va_list valist)
15 {
16 return vfwprintf(stdout, format, valist);
17 }