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

24 lines
504 B
C

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