win64: use new headers from mingw
[tinycc/kirr.git] / win32 / include / sec_api / conio_s.h
blob98d97ba2e0ef594638a58c847c0cd757fc979ea0
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER within this package.
5 */
7 #ifndef _INC_CONIO_S
8 #define _INC_CONIO_S
10 #include <conio.h>
12 #if defined(MINGW_HAS_SECURE_API)
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
18 _CRTIMP errno_t __cdecl _cgets_s(char *_Buffer,size_t _Size,size_t *_SizeRead);
19 _CRTIMP int __cdecl _cprintf_s(const char *_Format,...);
20 _CRTIMP int __cdecl _cscanf_s(const char *_Format,...);
21 _CRTIMP int __cdecl _cscanf_s_l(const char *_Format,_locale_t _Locale,...);
22 _CRTIMP int __cdecl _vcprintf_s(const char *_Format,va_list _ArgList);
23 _CRTIMP int __cdecl _cprintf_s_l(const char *_Format,_locale_t _Locale,...);
24 _CRTIMP int __cdecl _vcprintf_s_l(const char *_Format,_locale_t _Locale,va_list _ArgList);
26 #ifndef _WCONIO_DEFINED_S
27 #define _WCONIO_DEFINED_S
28 _CRTIMP errno_t __cdecl _cgetws_s(wchar_t *_Buffer,size_t _SizeInWords,size_t *_SizeRead);
29 _CRTIMP int __cdecl _cwprintf_s(const wchar_t *_Format,...);
30 _CRTIMP int __cdecl _cwscanf_s(const wchar_t *_Format,...);
31 _CRTIMP int __cdecl _cwscanf_s_l(const wchar_t *_Format,_locale_t _Locale,...);
32 _CRTIMP int __cdecl _vcwprintf_s(const wchar_t *_Format,va_list _ArgList);
33 _CRTIMP int __cdecl _cwprintf_s_l(const wchar_t *_Format,_locale_t _Locale,...);
34 _CRTIMP int __cdecl _vcwprintf_s_l(const wchar_t *_Format,_locale_t _Locale,va_list _ArgList);
35 #endif
37 #ifdef __cplusplus
39 #endif
41 #endif
42 #endif