1#include <stdio.h> 2#include <signal.h> 3#include <stdlib.h> 4 5void 6leave (int n) 7{ 8 exit (0); 9} 10 11int 12main (void) 13{ 14 /* Check that the sigaction syscall (for signal) is interpreted, though 15 possibly ignored. */ 16 signal (SIGFPE, leave); 17 18 printf ("pass\n"); 19 exit (0); 20} 21