5 #include <grass/calc.h>
16 static RETSIGTYPE handle_fpe(
int n)
28 act.sa_handler = &handle_fpe;
30 sigemptyset(&act.sa_mask);
32 sigaction(SIGFPE, &act,
NULL);
45 act.sa_handler = SIG_DFL;
47 sigemptyset(&act.sa_mask);
49 sigaction(SIGFPE, &act,
NULL);