Lines Matching full:signal
24 * Send a signal using the main stack. While executing the signal handler
29 * sigaltstack() should succeed to get/set signal alternate stack context.
33 * Setup signal handling.
73 #include <signal.h>
83 void *addr, *main_stk; /* address of main stack for signal */
87 stack_t sigstk, osigstk; /* signal stack storing struct. */
92 void sig_handler(int); /* signal catching function */
97 void *alt_stk; /* address of alternate stack for signal */
117 /* Set up the signal handler for 'SIGUSR1' */
122 "fails to trap signal "
127 /* Deliver signal onto the alternate stack */
130 /* wait till the signal arrives */
173 * send the signal 'SIGUSER1' to the process.
174 * wait till the signal arrives.
194 /* Send the signal to the test process */
197 /* Wait till the signal arrives */
212 * sig_handler() - signal catching function.
213 * This functions is called when the signal 'SIGUSR1' is delivered to