mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-03 10:20:17 +00:00
55 lines
1.9 KiB
C
55 lines
1.9 KiB
C
/**
|
|
* This file has no copyright assigned and is placed in the Public Domain.
|
|
* This file is part of the mingw-w64 runtime package.
|
|
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
|
*/
|
|
|
|
#ifndef _INC_CONIO_S
|
|
#define _INC_CONIO_S
|
|
|
|
#include <conio.h>
|
|
|
|
#if defined(MINGW_HAS_SECURE_API)
|
|
|
|
#if defined(__LIBMSVCRT__)
|
|
/* When building mingw-w64, this should be blank. */
|
|
#define _SECIMP
|
|
#else
|
|
#ifndef _SECIMP
|
|
#define _SECIMP __declspec(dllimport)
|
|
#endif /* _SECIMP */
|
|
#endif /* defined(_CRTBLD) || defined(__LIBMSVCRT__) */
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
_SECIMP errno_t __cdecl _cgets_s (char *_Buffer,size_t _Size,size_t *_SizeRead);
|
|
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(errno_t, _cgets_s, char, _Buffer, size_t*, _SizeRead)
|
|
|
|
_SECIMP int __cdecl _cprintf_s (const char *_Format,...);
|
|
_CRTIMP int __cdecl _cscanf_s(const char *_Format,...);
|
|
_CRTIMP int __cdecl _cscanf_s_l(const char *_Format,_locale_t _Locale,...);
|
|
_SECIMP int __cdecl _vcprintf_s (const char *_Format,va_list _ArgList);
|
|
_SECIMP int __cdecl _cprintf_s_l (const char *_Format,_locale_t _Locale,...);
|
|
_SECIMP int __cdecl _vcprintf_s_l (const char *_Format,_locale_t _Locale,va_list _ArgList);
|
|
|
|
#ifndef _WCONIO_S_DEFINED
|
|
#define _WCONIO_S_DEFINED
|
|
_SECIMP errno_t __cdecl _cgetws_s (wchar_t *_Buffer,size_t _SizeInWords,size_t *_SizeRead);
|
|
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(errno_t, _cgetws_s, wchar_t, _Buffer, size_t*, _SizeRead)
|
|
|
|
_SECIMP int __cdecl _cwprintf_s (const wchar_t *_Format,...);
|
|
_CRTIMP int __cdecl _cwscanf_s(const wchar_t *_Format,...);
|
|
_CRTIMP int __cdecl _cwscanf_s_l(const wchar_t *_Format,_locale_t _Locale,...);
|
|
_SECIMP int __cdecl _vcwprintf_s (const wchar_t *_Format,va_list _ArgList);
|
|
_SECIMP int __cdecl _cwprintf_s_l (const wchar_t *_Format,_locale_t _Locale,...);
|
|
_SECIMP int __cdecl _vcwprintf_s_l (const wchar_t *_Format,_locale_t _Locale,va_list _ArgList);
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
#endif
|