reactos/reactos/lib/sdk/crt/printf/fprintf.c
Timo Kreuzer bf49c46b23 [CRT]
New implementation of all printf functions. It's stream based (like MS one is) rather than buffer based (like our old is). Floating point is not 100% finished, but current implementation is good enough to boot. It can be enabled by a config switch.

svn path=/trunk/; revision=49499
2010-11-05 22:21:36 +00:00

24 lines
500 B
C

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