1 /* 2 * COPYRIGHT: GNU GPL, see COPYING in the top level directory 3 * PROJECT: ReactOS crt library 4 * FILE: lib/sdk/crt/printf/fwprintf_s.c 5 * PURPOSE: Implementation of fwprintf_s 6 * PROGRAMMER: Samuel Serapi�n 7 */ 8 9 #define MINGW_HAS_SECURE_API 1 10 11 #include <stdio.h> 12 #include <stdarg.h> 13 14 int 15 __cdecl fwprintf_s(FILE * file,const wchar_t * format,...)16fwprintf_s(FILE* file, const wchar_t *format, ...) 17 { 18 va_list valist; 19 int res; 20 va_start(valist, format); 21 res = vfwprintf_s(file, format, valist); 22 va_end(valist); 23 return res; 24 } 25