home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c040 / 6.ddi / INCLUDE / CONIO.H$ / CONIO.bin
Encoding:
Text File  |  1989-11-08  |  965 b   |  37 lines

  1. /***
  2. *conio.h - console and port I/O declarations
  3. *
  4. *    Copyright (c) 1985-1990, 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. #if defined(_DLL) && !defined(_MT)
  13. #error Cannot define _DLL without _MT
  14. #endif
  15.  
  16. #ifdef _MT
  17. #define _FAR_ _far
  18. #else
  19. #define _FAR_
  20. #endif
  21.  
  22. /* function prototypes */
  23.  
  24. char _FAR_ * _FAR_ _cdecl cgets(char _FAR_ *);
  25. int _FAR_ _cdecl cprintf(const char _FAR_ *, ...);
  26. int _FAR_ _cdecl cputs(const char _FAR_ *);
  27. int _FAR_ _cdecl cscanf(const char _FAR_ *, ...);
  28. int _FAR_ _cdecl getch(void);
  29. int _FAR_ _cdecl getche(void);
  30. int _FAR_ _cdecl inp(unsigned);
  31. unsigned _FAR_ _cdecl inpw(unsigned);
  32. int _FAR_ _cdecl kbhit(void);
  33. int _FAR_ _cdecl outp(unsigned, int);
  34. unsigned _FAR_ _cdecl outpw(unsigned, unsigned);
  35. int _FAR_ _cdecl putch(int);
  36. int _FAR_ _cdecl ungetch(int);
  37.