home *** CD-ROM | disk | FTP | other *** search
/ gondwana.ecr.mu.oz.au/pub/ / Graphics.tar / Graphics / VOGLE.ZIP / DRIVERS / IBMPC / PC_GETKE.C < prev    next >
Text File  |  2000-02-11  |  131b  |  15 lines

  1. int
  2. pc_getkey()
  3. {
  4.     return((int)getch());
  5. }
  6.  
  7. int
  8. pc_checkkey()
  9. {
  10.     if (kbhit())
  11.         return((int)getch());
  12.  
  13.     return(0);
  14. }
  15.