blob: 49168e8c71b3a78ef0960204285c6d92a4bb915f [file]
/**
* 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>
_CRT_BEGIN_C_HEADER
/**
* Functions to read/write strings from/to console.
*/
_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)
/**
* Formatted console I/O functions.
*/
_SECIMP int __cdecl _cprintf_s (const char *_Format,...);
_SECIMP int __cdecl _cprintf_s_l (const char *_Format,_locale_t _Locale,...);
_SECIMP int __cdecl _vcprintf_s (const char *_Format,va_list _ArgList);
_SECIMP int __cdecl _vcprintf_s_l (const char *_Format,_locale_t _Locale,va_list _ArgList);
_CRTIMP int __cdecl _cscanf_s(const char *_Format,...);
_CRTIMP int __cdecl _cscanf_s_l(const char *_Format,_locale_t _Locale,...);
_CRT_END_C_HEADER
#endif