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

26 lines
520 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/printf.c
* PURPOSE: Implementation of printf
* PROGRAMMER: Timo Kreuzer
* Samuel Serapi<EFBFBD>n
*/
#include <stdio.h>
#include <stdarg.h>
int
__cdecl
printf(const char *format, ...)
{
va_list argptr;
int result;
va_start(argptr, format);
result = vfprintf(stdout, format, argptr);
va_end(argptr);
return result;
}