reactos/lib/sdk/crt/printf/_cprintf.c

24 lines
483 B
C
Raw Normal View History

/*
* COPYRIGHT: GNU GPL, see COPYING in the top level directory
* PROJECT: ReactOS crt library
* FILE: lib/sdk/crt/printf/_cprintf.c
* PURPOSE: Implementation of _cprintf
* PROGRAMMER: Timo Kreuzer
*/
#include <conio.h>
#include <stdarg.h>
int
__cdecl
_cprintf(const char * format, ...)
{
va_list argptr;
int result;
va_start(argptr, format);
result = _vcprintf(format, argptr);
va_end(argptr);
return result;
}