delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/01/14/08:19:39

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Date: Mon, 14 Jan 2002 15:15:33 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: ROLAND <roland_asmann AT yahoo DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: PMCOM & signals
In-Reply-To: <20020114131143.53416.qmail@web9107.mail.yahoo.com>
Message-ID: <Pine.SUN.3.91.1020114151438.16401G-100000@is>
MIME-Version: 1.0
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

On Mon, 14 Jan 2002, ROLAND wrote:

> Can I use this in an signal() or something, or is
> kbhit active as a resident function or something??

I assume that your program has some loop where it does its work.  Just 
call kbhit inside that loop, to periodically check if Ctrl-C was pressed.

- Raw text -


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