[CMAKE]
[reactos.git] / lib / sdk / crt / printf / _cprintf.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: Timo Kreuzer
7 */
8
9 #include <stdarg.h>
10
11 int _vcprintf(const char* format, va_list argptr);
12
13 int
14 _cdecl
15 _cprintf(const char * format, ...)
16 {
17 va_list argptr;
18 int result;
19
20 va_start(argptr, format);
21 result = _vcprintf(format, argptr);
22 va_end(argptr);
23 return result;
24 }
25