delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/08/30/21:18:14

Comments: Authenticated sender is <kbaca AT bluesky DOT skygames DOT com>
From: Kevin Baca <kbaca AT skygames DOT com>
Organization: BlueSky Software
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Wed, 30 Aug 1995 17:44:42 +0000
Subject: Re: kbhit with Unix/Linux

> Please look in this months Linux Journel.  This exact topic is covered
> in an article.

For those who don't get Linux Journal, it says, in a nutshell, 
the most portable way to implement kbhit is to do a select() on the 
stdin file descriptor (I think it's 0 (zero)).  I haven't tried it, but it
sounds good to me.

- Raw text -


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