Message-ID: <352A4DC4.6EC1@bergen.mail.telia.com> Date: Tue, 07 Apr 1998 18:01:08 +0200 From: John Kismul Reply-To: john DOT kismul AT bergen DOT mail DOT telia DOT com MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: SIGSEGV Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: t1o204p2.telia.com Lines: 18 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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?