Mail Archives: djgpp/1999/03/01/15:45:59

Newsgroups: comp.os.msdos.djgpp
From: "Mike Ruskai" <thanny AT spambegone DOT home DOT com>
Message-ID: <gunaalubzrpbz.f7xo5e1.pminews@>
X-Newsreader: PMINews 2.00.1205 For OS/2
Organization: TLF
MIME-Version: 1.0
Subject: SIGINT handling with CTRL-C
Lines: 14
Date: Mon, 01 Mar 1999 20:41:38 GMT
X-Complaints-To: abuse AT home DOT net
X-Trace: 920320898 (Mon, 01 Mar 1999 12:41:38 PDT)
NNTP-Posting-Date: Mon, 01 Mar 1999 12:41:38 PDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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

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


 - Mike

Remove 'spambegone' to send e-mail.

- Raw text -

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