2 Copyright © 2010, The AROS Development Team. All rights reserved.
5 Desc: Test program for the arosc's raise() and signal() functions.
14 puts("Catched illegal instruction signal");
24 printf("sigsegv call %d\n", call
);
32 puts("Setting signals");
33 signal(SIGFPE
, SIG_IGN
);
34 signal(SIGILL
, sigill
);
35 signal(SIGSEGV
, sigsegv
);
37 puts("\nRaising SIGFPE (ignored)");
40 puts("\nRaising SIGILL (catched)");
43 puts("\nRaising SIGSEGV (nested 2 times)");
46 puts("\nRaising SIGABRT (not catched)");