www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/01/14/06:16:47

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Date: Mon, 14 Jan 2002 13:12:54 +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: <20020114094223.8595.qmail@web9103.mail.yahoo.com>
Message-ID: <Pine.SUN.3.91.1020114130744.15686B-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:

> I have been in touch with Mr. Marinov, and he told me
> that if CTRL-C has been pressed it is indeed possible
> that the program crashes.
> I then tried to catch the interrupt and handle it
> correct, but for some reason my program doesn't catch
> the CTRL-C and still gives me the error on pressing
> CTRL-C.
> Does anybody know how to solve this?

If you want to disable Ctrl-C's effect on the program's data selector, 
this will do it:

   __djgpp_set_ctrl_c(0);

- Raw text -


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