X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Date: Mon, 14 Jan 2002 15:06:23 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: ROLAND cc: djgpp AT delorie DOT com Subject: Re: PMCOM & signals In-Reply-To: <20020114130428.52974.qmail@web9107.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk On Mon, 14 Jan 2002, ROLAND wrote: > And how do I need to implement this to exit my > program? If kbhit returns 3 (the ASCII code of Ctrl-C), call exit(). > Can I let kdhit (or is it kbhit?) exit the program on > a CTRL-C?? It's kbhit, sorry for the typo.