Date: Mon, 4 Nov 1996 07:27:36 +0200 (IST) From: Eli Zaretskii To: "Ilya P. Ryzhenkov" Cc: djgpp AT delorie DOT com Subject: Re: SIGSEGV Question In-Reply-To: <327D2D07.1014@spy.isp.nsc.ru> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 3 Nov 1996, Ilya P. Ryzhenkov wrote: > I wonder if I can force exception processor to re-execute > faulted command after signal handler have done his job. > I'm focused primarily on SIGSEGV. Is it possible and how can > I do it ? What's wrong with setjmp/longjmp paradigm? Since in DJGPP the signal handling is deferred until your program is back in its mainline code in protected mode, the signal handler is just another C function, so you can do in it anything that you could do in any other C function.