Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!hellgate.utah.edu!helios.ee.lbl.gov!ucsd!ucsdhub!hp-sdd!hp-pcd!hpcvia!brianh From: brianh@hpcvia.CV.HP.COM (brian_helterline) Newsgroups: comp.lang.c Subject: Re: Keypressed exists? Message-ID: <18060009@hpcvia.CV.HP.COM> Date: 5 Feb 90 16:46:01 GMT References: Organization: Hewlett-Packard Co., Corvallis, Oregon Lines: 16 >Hi > I have a very simple question, although I can't find the answer myself. How >do you quietly test whether any key was pressed on the keyboard? I want to >write a function that waits 10 seconds, if any key had been pressed, but >doesn't wait at all, if none was pressed. > Any help would be appreciated. >-- >------ >ron >------ >---------- In MSC 5.1 use the _bios_keybrd() function to accomplish what who want.