home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / sampcode / qc_prog / chap14 / conio.h < prev    next >
Encoding:
C/C++ Source or Header  |  1987-10-15  |  950 b   |  34 lines

  1. /***
  2. *conio.h - console and port I/O declarations
  3. *
  4. *   Copyright (c) 1985-1987, 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 NO_EXT_KEYS /* extensions enabled */
  13.     #define _CDECL  cdecl
  14. #else /* extensions not enabled */
  15.     #define _CDECL
  16. #endif /* NO_EXT_KEYS */
  17.  
  18.  
  19. /* function prototypes */
  20.  
  21. char * _CDECL cgets(char *);
  22. int _CDECL cprintf(char *, ...);
  23. int _CDECL cputs(char *);
  24. int _CDECL cscanf(char *, ...);
  25. int _CDECL getch(void);
  26. int _CDECL getche(void);
  27. int _CDECL inp(unsigned int);
  28. unsigned _CDECL inpw(unsigned int);
  29. int _CDECL kbhit(void);
  30. int _CDECL outp(unsigned int, int);
  31. unsigned _CDECL outpw(unsigned int, unsigned int);
  32. int _CDECL putch(int);
  33. int _CDECL ungetch(int);
  34.