www.delorie.com/archives/browse.cgi | search |
Message-ID: | <352A4DC4.6EC1@bergen.mail.telia.com> |
Date: | Tue, 07 Apr 1998 18:01:08 +0200 |
From: | John Kismul <john DOT kismul AT bergen DOT mail DOT telia DOT com> |
Reply-To: | john DOT kismul AT bergen DOT mail DOT telia DOT com |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | SIGSEGV |
NNTP-Posting-Host: | t1o204p2.telia.com |
Lines: | 18 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Hello, I was wondering, is it possible to do so that whenever a SEGMENT VIOLATION occures my program will go on executing as normal instead of exiting with a PAGE FAULT or a GENERAL PROTECTION error. I've tried to use the signal function like this: *** signal(SIGSEGV,hello); void hello(void) { return; } *** But that don't work. Anyone?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |