www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/02/12:15:46

Date: Tue, 2 Mar 1999 18:09:25 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp AT delorie DOT com
Subject: Re: SIGINT handling with CTRL-C
In-Reply-To: <gunaalubzrpbz.f7xo5e1.pminews@24.3.128.71>
Message-ID: <Pine.SUN.3.91.990302180708.2062N-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Mon, 1 Mar 1999, Mike Ruskai wrote:

> I've set up a handler with signal(), and tried calling __djgpp_set_ctrl_c()
> both before and after it.

For starters, I don't understand why did you need to call 
__djgpp_set_ctrl_c at all.  The SIGINT handler should have been called 
without it.

> But CTRL-C still results in an immediate end to the program, without going to
> the SIGINT handler.

On what operating system?  DOS? Windows 3.X? Windows 9X? Windows NT? 
Linux/DOSEmu?

- Raw text -


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