|
|
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: ! 19: #if (_MSC_VER <= 600) ! 20: #define __cdecl _cdecl ! 21: #endif ! 22: ! 23: /* function prototypes */ ! 24: ! 25: char * _cgets(char *); ! 26: int _cprintf(const char *, ...); ! 27: int _cputs(const char *); ! 28: int _cscanf(const char *, ...); ! 29: int _getch(void); ! 30: int _getche(void); ! 31: int _kbhit(void); ! 32: int _putch(int); ! 33: int _ungetch(int); ! 34: ! 35: ! 36: #if !__STDC__ ! 37: /* Non-ANSI names for compatibility */ ! 38: #define cgets _cgets ! 39: #define cprintf _cprintf ! 40: #define cputs _cputs ! 41: #define cscanf _cscanf ! 42: #define getch _getch ! 43: #define getche _getche ! 44: #define kbhit _kbhit ! 45: #define putch _putch ! 46: #define ungetch _ungetch ! 47: #endif /* __STDC__ */ ! 48: ! 49: #ifdef __cplusplus ! 50: } ! 51: #endif ! 52: ! 53: #define _INC_CONIO ! 54: #endif /* _INC_CONIO */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.