delorie.com/archives/browse.cgi | search |
Date: | Sat, 18 May 2002 14:52:09 +0300 |
From: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> |
Sender: | halo1 AT zahav DOT net DOT il |
To: | djgpp AT delorie DOT com |
Message-Id: | <8971-Sat18May2002145209+0300-eliz@is.elta.co.il> |
X-Mailer: | emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 |
In-reply-to: | <3CE6268F.B82FB4BF@yahoo.com> (message from CBFalconer on Sat, 18 |
May 2002 10:14:15 GMT) | |
Subject: | Re: How to avoid kbhit() and getkey() ? |
References: | <12024 DOT 1021660112 AT www22 DOT gmx DOT net> <7999-Sat18May2002095237+0300-eliz AT is DOT elta DOT co DOT il> <3CE6268F DOT B82FB4BF AT yahoo 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: CBFalconer <cbfalconer AT yahoo DOT com> > Newsgroups: comp.os.msdos.djgpp > Date: Sat, 18 May 2002 10:14:15 GMT > > IMNSHO the portable way is to create your own function > > int chready(FILE *f); > > which returns 0 unless it knows that fgetc(f) will return > immediately. I think the question was how to implement such a function so that it will work both in DJGPP and on Posix platforms.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |