|
|
1.1 root 1: /***
2: *conio.h - console and port I/O declarations
3: *
4: * Copyright (c) 1985-1991, Microsoft Corporation. All rights reserved.
5: *
6: *Purpose:
7: * This include file contains the function declarations for
8: * the MS C V2.03 compatible console and port I/O routines.
9: *
10: ****/
11:
12: #ifndef _INC_CONIO
13:
14: #ifdef __cplusplus
15: extern "C" {
16: #endif
17:
18:
1.1.1.2 ! root 19: #ifndef MIPS
1.1 root 20: #if (_MSC_VER <= 600)
21: #define __cdecl _cdecl
22: #endif
1.1.1.2 ! root 23: #endif
1.1 root 24:
25: /* function prototypes */
26:
27: char * _cgets(char *);
28: int _cprintf(const char *, ...);
29: int _cputs(const char *);
30: int _cscanf(const char *, ...);
31: int _getch(void);
32: int _getche(void);
33: int _kbhit(void);
34: int _putch(int);
35: int _ungetch(int);
36:
37:
38: #if !__STDC__
39: /* Non-ANSI names for compatibility */
40: #define cgets _cgets
41: #define cprintf _cprintf
42: #define cputs _cputs
43: #define cscanf _cscanf
44: #define getch _getch
45: #define getche _getche
46: #define kbhit _kbhit
47: #define putch _putch
48: #define ungetch _ungetch
49: #endif /* __STDC__ */
50:
51: #ifdef __cplusplus
52: }
53: #endif
54:
55: #define _INC_CONIO
56: #endif /* _INC_CONIO */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.