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