delorie.com/archives/browse.cgi | search |
Date: | Tue, 19 Dec 1995 14:25:41 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
To: | Isaac Kohn <hacker1 AT rci DOT ripco DOT com> |
Cc: | mailing list <djgpp AT sun DOT soe DOT clarkson DOT edu> |
Subject: | Re: Help with keyboard polling |
On Mon, 18 Dec 1995, Isaac Kohn wrote: > All of the keyboard i/o routines in DJGPP (getkey(), getxkey(), getchar(), > etc.) wait for a keypress when they are called. How do I query in order to > retuen a key if one has been pressed, or 0 if not? In other words, I'm Use kbhit().
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |