Moved mode setting out of .spec file into Makefile.
[wine/gsoc_dplay.git] / include / msvcrt / conio.h
blob19390b9c4ca6fc7ea7efa98a312045f6fee0880a
1 /*
2 * Console I/O definitions
4 * Derived from the mingw header written by Colin Peters.
5 * Modified for Wine use by Jon Griffiths and Francois Gouget.
6 * This file is in the public domain.
7 */
8 #ifndef __WINE_CONIO_H
9 #define __WINE_CONIO_H
10 #define __WINE_USE_MSVCRT
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
17 char* _cgets(char*);
18 int _cprintf(const char*,...);
19 int _cputs(const char*);
20 int _cscanf(const char*,...);
21 int _getch(void);
22 int _getche(void);
23 int _kbhit(void);
24 int _putch(int);
25 int _ungetch(int);
27 #ifdef _M_IX86
28 int _inp(unsigned short);
29 unsigned long _inpd(unsigned short);
30 unsigned short _inpw(unsigned short);
31 int _outp(unsigned short, int);
32 unsigned long _outpd(unsigned short, unsigned long);
33 unsigned short _outpw(unsigned short, unsigned short);
34 #endif
36 #ifdef __cplusplus
38 #endif
41 #ifndef USE_MSVCRT_PREFIX
42 #define cgets _cgets
43 #define cprintf _cprintf
44 #define cputs _cputs
45 #define cscanf _cscanf
46 #define getch _getch
47 #define getche _getche
48 #define kbhit _kbhit
49 #define putch _putch
50 #define ungetch _ungetch
51 #ifdef _M_IX86
52 #define inp _inp
53 #define inpw _inpw
54 #define outp _outp
55 #define outpw _outpw
56 #endif
57 #endif /* USE_MSVCRT_PREFIX */
59 #endif /* __WINE_CONIO_H */