Subject: Re: standards question: SIGFPE handler return
To: None <M.Drochner@fz-juelich.de>
From: Klaus Klein <kleink@reziprozitaet.de>
List: current-users
Date: 03/04/2004 13:11:44
On Thursday 04 March 2004 12:41, Matthias Drochner wrote:
> does anybody know whether it is specified what happens after
> a SIGFPE handler returns? Is it legal if it restarts the
> instruction, or should it continue with the next instruction,
> or is it just implementation dependant?
It is "undefined" for signals not generated by kill(2) et al.,
so strictly speaking any of those would be ok. (Same for SIGBUS,
SIGILL, and SIGSEGV.)
- Klaus