From: hacker1 AT rci DOT ripco DOT com (Isaac Kohn) Subject: Help with keyboard polling To: djgpp AT sun DOT soe DOT clarkson DOT edu (mailing list) Date: Mon, 18 Dec 1995 15:35:51 -0600 (CST) Greetings, 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 looking for a function Solution() that would return NULL or something if no key has been pressed, or the val. of the key otherwise. TIA, Isaac K. hacker1 AT rci DOT ripco DOT com ivk AT hfnet DOT sinai DOT org