Lines Matching defs:handler
76 * signal handler)
88 * release each signal and wait a second for the handler to
90 * (the handler will record each signal it catches in an array
129 static void handler(int sig);
168 /* signal handler */
177 /* array of counters for signals caught by handler() */
364 tst_resm(TBROK, "Error occured in signal handler.");
387 phase = 1; /* tell handler that we do not want to catch signals */
423 * catch a signal and the interrupt handler will exit with a
442 phase = 2; /* let handler know we are now expecting signals */
477 sig_caught = FALSE; /* handler sets it to TRUE when caught */
490 /* give signal handler some time to process signal */
523 * The signal handler has two functions depending on which phase
533 /* set up signal handler routine */
536 if (signal(sig, handler) == SIG_ERR) {
550 * handler() : child's interrupt handler for all signals. The phase variable
559 static void handler(int sig)
564 printf("child: handler phase%d: caught signal %d.\n", phase, sig);
587 } /* end of handler */