cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/29/15:08:13

Date: Sun, 29 Aug 1999 14:49:41 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Klaus Reinhardt <K DOT Rdt AT TU-Berlin DOT DE>
cc: dl mailing list <djgpp AT delorie DOT com>
Subject: Re: piping and 'kbhit'
In-Reply-To: <37C75467.854@TU-Berlin.DE>
Message-ID: <Pine.SUN.3.91.990829144921.9438u-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Fri, 27 Aug 1999, Klaus Reinhardt wrote:

> Is it possible to check f.i. kbhit in a pipe?

No.  `kbhit' issues a BIOS call, so it doesn't know about files.

If you want a function that works on the keyboard and files alike, use
`select'.

- Raw text -


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