delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/08/01:17:08

Date: Fri, 08 Dec 2000 08:16:13 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: jvasquez AT getntds DOT com (John Vasquez)
Message-Id: <7458-Fri08Dec2000081612+0200-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6
CC: djgpp AT delorie DOT com
In-reply-to: <3a2fc21d.264828853@news.connectnet.com> (jvasquez@getntds.com)
Subject: Re: kbhit
References: <3a2fc21d DOT 264828853 AT news DOT connectnet DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: jvasquez AT getntds DOT com (John Vasquez)
> Newsgroups: comp.os.msdos.djgpp
> Date: Thu, 07 Dec 2000 17:04:35 GMT
> 
> Is there a problem with kbhit()?

No.

> I've included <pc.h> in my source file.
> When kbhit is called, my computer is hung-up and keyboard is dead. I
> have to press the reset switch to reboot my machine.

Post your source, or, better yet, write the shortest test program
which uses the same code to call kbhit as your real program, and if
that test program behaves in the same way, post its source here.

It's almost certainly some bug in your program.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019