xref: /reactos/sdk/lib/crt/printf/_cprintf.c (revision c2c66aff)
1 /*
2  * COPYRIGHT:       GNU GPL, see COPYING in the top level directory
3  * PROJECT:         ReactOS crt library
4  * FILE:            lib/sdk/crt/printf/_cprintf.c
5  * PURPOSE:         Implementation of _cprintf
6  * PROGRAMMER:      Timo Kreuzer
7  */
8 
9 #include <conio.h>
10 #include <stdarg.h>
11 
12 int
13 __cdecl
_cprintf(const char * format,...)14 _cprintf(const char * format, ...)
15 {
16     va_list argptr;
17     int result;
18 
19     va_start(argptr, format);
20     result = _vcprintf(format, argptr);
21     va_end(argptr);
22     return result;
23 }
24