Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
918 B

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