Lines Matching refs:signal
205 int signal;
1482 toys.signal = SIGWINCH;
1556 if (toys.signal) {
1557 toys.signal = 0;
1746 // set signal handler to put terminal/cursor back to normal at exit.
1824 if (TT.pgrep.signal) {
1825 if (kill(*tb->slot, TT.pgrep.signal)) {
1826 char *s = num_to_sig(TT.pgrep.signal);
1828 if (!s) sprintf(s = toybuf, "%d", TT.pgrep.signal);
1832 if (!FLAG(c) && (!TT.pgrep.signal || TT.tty)) {
1889 // No signal names start with "L", so no need for "L: " in optstr.
1890 if (TT.pgrep.L && 1>(TT.pgrep.signal = sig_to_num(TT.pgrep.L)))
1936 if (!TT.pgrep.L) TT.pgrep.signal = SIGTERM;