conio_s.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. */
  6. #ifndef _INC_CONIO_S
  7. #define _INC_CONIO_S
  8. #include <conio.h>
  9. #if defined(MINGW_HAS_SECURE_API)
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13. _CRTIMP errno_t __cdecl _cgets_s(char *_Buffer,size_t _Size,size_t *_SizeRead);
  14. _CRTIMP int __cdecl _cprintf_s(const char *_Format,...);
  15. _CRTIMP int __cdecl _cscanf_s(const char *_Format,...);
  16. _CRTIMP int __cdecl _cscanf_s_l(const char *_Format,_locale_t _Locale,...);
  17. _CRTIMP int __cdecl _vcprintf_s(const char *_Format,va_list _ArgList);
  18. _CRTIMP int __cdecl _cprintf_s_l(const char *_Format,_locale_t _Locale,...);
  19. _CRTIMP int __cdecl _vcprintf_s_l(const char *_Format,_locale_t _Locale,va_list _ArgList);
  20. #ifndef _WCONIO_DEFINED_S
  21. #define _WCONIO_DEFINED_S
  22. _CRTIMP errno_t __cdecl _cgetws_s(wchar_t *_Buffer,size_t _SizeInWords,size_t *_SizeRead);
  23. _CRTIMP int __cdecl _cwprintf_s(const wchar_t *_Format,...);
  24. _CRTIMP int __cdecl _cwscanf_s(const wchar_t *_Format,...);
  25. _CRTIMP int __cdecl _cwscanf_s_l(const wchar_t *_Format,_locale_t _Locale,...);
  26. _CRTIMP int __cdecl _vcwprintf_s(const wchar_t *_Format,va_list _ArgList);
  27. _CRTIMP int __cdecl _cwprintf_s_l(const wchar_t *_Format,_locale_t _Locale,...);
  28. _CRTIMP int __cdecl _vcwprintf_s_l(const wchar_t *_Format,_locale_t _Locale,va_list _ArgList);
  29. #endif
  30. #ifdef __cplusplus
  31. }
  32. #endif
  33. #endif
  34. #endif