1 /** 2 * This file has no copyright assigned and is placed in the Public Domain. 3 * This file is part of the mingw-w64 runtime package. 4 * No warranty is given; refer to the file DISCLAIMER.PD within this package. 5 */ 6 7 #ifndef _INC_CONIO_S 8 #define _INC_CONIO_S 9 10 #include <conio.h> 11 12 #if defined(MINGW_HAS_SECURE_API) 13 14 #ifdef __cplusplus 15 extern "C" { 16 #endif 17 18 errno_t __cdecl _cgets_s (char *_Buffer,size_t _Size,size_t *_SizeRead); 19 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(errno_t, _cgets_s, char, _Buffer, size_t*, _SizeRead) 20 21 int __cdecl _cprintf_s (const char *_Format,...); 22 _CRTIMP int __cdecl _cscanf_s(const char *_Format,...); 23 _CRTIMP int __cdecl _cscanf_s_l(const char *_Format,_locale_t _Locale,...); 24 int __cdecl _vcprintf_s (const char *_Format,va_list _ArgList); 25 int __cdecl _cprintf_s_l (const char *_Format,_locale_t _Locale,...); 26 int __cdecl _vcprintf_s_l (const char *_Format,_locale_t _Locale,va_list _ArgList); 27 28 #ifndef _WCONIO_DEFINED_S 29 #define _WCONIO_DEFINED_S 30 errno_t __cdecl _cgetws_s (wchar_t *_Buffer,size_t _SizeInWords,size_t *_SizeRead); 31 __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(errno_t, _cgetws_s, wchar_t, _Buffer, size_t*, _SizeRead) 32 33 int __cdecl _cwprintf_s (const wchar_t *_Format,...); 34 _CRTIMP int __cdecl _cwscanf_s(const wchar_t *_Format,...); 35 _CRTIMP int __cdecl _cwscanf_s_l(const wchar_t *_Format,_locale_t _Locale,...); 36 int __cdecl _vcwprintf_s (const wchar_t *_Format,va_list _ArgList); 37 int __cdecl _cwprintf_s_l (const wchar_t *_Format,_locale_t _Locale,...); 38 int __cdecl _vcwprintf_s_l (const wchar_t *_Format,_locale_t _Locale,va_list _ArgList); 39 #endif 40 41 #ifdef __cplusplus 42 } 43 #endif 44 45 #endif 46 #endif 47