1 |
/* |
2 |
* conio.h |
3 |
* This file has no copyright assigned and is placed in the Public Domain. |
4 |
* This file is a part of the mingw-runtime package. |
5 |
* No warranty is given; refer to the file DISCLAIMER within the package. |
6 |
* |
7 |
* Low level console I/O functions. Pretty please try to use the ANSI |
8 |
* standard ones if you are writing new code. |
9 |
* |
10 |
*/ |
11 |
|
12 |
#ifndef _CONIO_H_ |
13 |
#define _CONIO_H_ |
14 |
|
15 |
/* All the headers include this file. */ |
16 |
#include <_mingw.h> |
17 |
|
18 |
#ifndef RC_INVOKED |
19 |
|
20 |
#ifdef __cplusplus |
21 |
extern "C" { |
22 |
#endif |
23 |
|
24 |
_CRTIMP char* __cdecl __MINGW_NOTHROW _cgets (char*); |
25 |
_CRTIMP int __cdecl __MINGW_NOTHROW _cprintf (const char*, ...); |
26 |
_CRTIMP int __cdecl __MINGW_NOTHROW _cputs (const char*); |
27 |
_CRTIMP int __cdecl __MINGW_NOTHROW _cscanf (char*, ...); |
28 |
|
29 |
_CRTIMP int __cdecl __MINGW_NOTHROW _getch (void); |
30 |
_CRTIMP int __cdecl __MINGW_NOTHROW _getche (void); |
31 |
_CRTIMP int __cdecl __MINGW_NOTHROW _kbhit (void); |
32 |
_CRTIMP int __cdecl __MINGW_NOTHROW _putch (int); |
33 |
_CRTIMP int __cdecl __MINGW_NOTHROW _ungetch (int); |
34 |
|
35 |
|
36 |
#ifndef _NO_OLDNAMES |
37 |
|
38 |
_CRTIMP int __cdecl __MINGW_NOTHROW getch (void); |
39 |
_CRTIMP int __cdecl __MINGW_NOTHROW getche (void); |
40 |
_CRTIMP int __cdecl __MINGW_NOTHROW kbhit (void); |
41 |
_CRTIMP int __cdecl __MINGW_NOTHROW putch (int); |
42 |
_CRTIMP int __cdecl __MINGW_NOTHROW ungetch (int); |
43 |
|
44 |
#endif /* Not _NO_OLDNAMES */ |
45 |
|
46 |
|
47 |
#ifdef __cplusplus |
48 |
} |
49 |
#endif |
50 |
|
51 |
#endif /* Not RC_INVOKED */ |
52 |
|
53 |
#endif /* Not _CONIO_H_ */ |