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