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

25 lines
500 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/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;
}