Lines Matching defs:sig
62 static int sig;
92 maybe_run_child(&do_child, "dd", &temp, &sig);
106 for (sig = 1; sig < 14; sig++) {
117 if (self_exec(argv[0], "dd", temp, sig) < 0) {
125 //fprintf(temp, "Testing signal %d\n", sig);
130 kill(pid, sig); /* child should ignroe this sig */
160 it should be 0, except when sig = 9 */
162 if ((sig == 9) && (nsig != sig)) {
169 if ((sig != 9) && (nsig != 0)) {
177 it should be 1, except when sig = 9 */
179 if (sig == 9)
231 sigset(sig, SIG_IGN); /* set to ignore signal */