branch update for HEAD-2003021201
[reactos.git] / include / msvcrt / conio.h
1 /*
2  * conio.h
3  *
4  * Low level console I/O functions. Pretty please try to use the ANSI
5  * standard ones if you are writing new code.
6  *
7  * This file is part of the Mingw32 package.
8  *
9  * Contributors:
10  *  Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
11  *
12  *  THIS SOFTWARE IS NOT COPYRIGHTED
13  *
14  *  This source code is offered for use in the public domain. You may
15  *  use, modify or distribute it freely.
16  *
17  *  This code is distributed in the hope that it will be useful but
18  *  WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
19  *  DISCLAIMED. This includes but is not limited to warranties of
20  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21  *
22  * $Revision$
23  * $Author$
24  * $Date$
25  *
26  */
27
28 #ifndef __STRICT_ANSI__
29
30 #ifndef _CONIO_H_
31 #define _CONIO_H_
32
33 #ifdef  __cplusplus
34 extern "C" {
35 #endif
36
37
38 char* _cgets(char*);
39 int _cprintf(const char*, ...);
40 int _cputs(const char*); 
41 int _cscanf(char*, ...);
42 int _getch(void);
43 int _getche(void);
44 int _kbhit(void);
45 int _putch(int);
46 int _ungetch(int);
47
48 #ifndef _NO_OLDNAMES
49 #define getch           _getch
50 #define getche          _getche
51 #define kbhit           _kbhit
52 #define putch(cPut)     _putch(cPut)
53 #define ungetch(cUnget) _ungetch(cUnget)
54 #endif  /* Not _NO_OLDNAMES */
55
56
57 #ifdef  __cplusplus
58 }
59 #endif
60
61 #endif  /* Not _CONIO_H_ */
62
63 #endif  /* Not __STRICT_ANSI__ */