1 #include <windows.h> 2 #include <malloc.h> 3 #include <errno.h> 4 #include <msvcrt.h> 5 #include <sec_api/conio_s.h> 6 7 int __cdecl (*__MINGW_IMP_SYMBOL(_cprintf_s))(const char *,...) = 8 _cprintf_s; 9 10 int __cdecl _cprintf_s(const char * s,...)11_cprintf_s (const char *s, ...) 12 { 13 va_list argp; 14 int r; 15 16 va_start (argp, s); 17 r = _vcprintf_s (s, argp); 18 va_end (argp); 19 return r; 20 } 21