Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
  2. #include <pc.h>
  3. #include <libc/farptrgs.h>
  4. #include <menuet/os.h>
  5.  
  6. int kbhit(void)
  7. {
  8.  int i;
  9.  i=__menuet__check_for_event();
  10.  if(i==2) return 1; else return 0;
  11. }
  12.