[ILUG] C - catching or ignoring SIGFPE
Kevin O Riordan
kor at compsoc.com
Tue Nov 13 18:53:44 GMT 2001
Ah, perfect. Lewine's "POSIX Programmers Guide" said that a program
"should not assume that it can continue from a SIGFPE ...", but I was
wondering if there was some trick I was missing.
Thanks to all,
On Boomtime, the 25th day of The Aftermath, Dave Neary roared:
> The devil's in the detail here. At the end of the manpage for sigaction,
> tions. Integer division by zero has undefined result. On
> some architectures it will generate a SIGFPE signal.
> ate SIGFPE.) Ignoring this signal might lead to an end
> less loop."
> Sorry there's no better answer than "You can't, in general", but there
> David Neary, E-Mail dave.neary at palamon.ie
> Palamon Technologies Ltd. Phone +353-1-634-5059
dead trees can't You grep
More information about the ILUG