10 void have_a_very_merry_interrupt (void);
14 foo (); /* Put a breakpoint on foo() and call it to see a dummy frame */
17 have_a_very_merry_interrupt ();
30 *nuller
= 'a'; /* try to cause a segfault */
39 /* The first statement in subroutine () is a place for a breakpoint.
40 Without it, the breakpoint is put on the while comparison and will
41 be hit at each iteration. */
52 have_a_very_merry_interrupt (void)
54 signal (SIGALRM
, handler
);
56 sleep (2); /* We'll receive that signal while sleeping */