Searched refs:sig (Results 1 – 11 of 11) sorted by relevance
/coreutils/src/ |
D | timeout.c | 180 send_sig (pid_t where, int sig) in send_sig() argument 190 signal (sig, SIG_IGN); in send_sig() 191 return kill (where, sig); in send_sig() 197 chld (int sig) in chld() argument 203 cleanup (int sig) in cleanup() argument 205 if (sig == SIGALRM) in cleanup() 208 sig = term_signal; in cleanup() 228 if (sig2str (sig, signame) != 0) in cleanup() 229 snprintf (signame, sizeof signame, "%d", sig); in cleanup() 233 send_sig (monitored_pid, sig); in cleanup() [all …]
|
D | csplit.c | 231 interrupt_handler (int sig) in interrupt_handler() argument 234 signal (sig, SIG_DFL); in interrupt_handler() 238 raise (sig); in interrupt_handler() 1383 static int const sig[] = in main() local 1403 enum { nsigs = ARRAY_CARDINALITY (sig) }; in main() 1410 sigaction (sig[i], nullptr, &act); in main() 1412 sigaddset (&caught_signals, sig[i]); in main() 1420 if (sigismember (&caught_signals, sig[i])) in main() 1421 sigaction (sig[i], &act, nullptr); in main()
|
D | ls.c | 71 # define siginterrupt(sig, flag) /* empty */ argument 1489 sighandler (int sig) in sighandler() argument 1492 signal (sig, SIG_IGN); in sighandler() 1494 interrupt_signal = sig; in sighandler() 1500 stophandler (int sig) in stophandler() argument 1503 signal (sig, stophandler); in stophandler() 1519 int sig; in process_signals() local 1531 sig = interrupt_signal; in process_signals() 1540 sig = SIGSTOP; in process_signals() 1543 signal (sig, SIG_DFL); in process_signals() [all …]
|
D | sort.c | 80 # define siginterrupt(sig, flag) /* empty */ argument 4190 sighandler (int sig) in sighandler() argument 4193 signal (sig, SIG_IGN); in sighandler() 4197 signal (sig, SIG_DFL); in sighandler() 4198 raise (sig); in sighandler() 4331 static int const sig[] = in main() local 4351 enum { nsigs = ARRAY_CARDINALITY (sig) }; in main() 4359 sigaction (sig[i], nullptr, &act); in main() 4361 sigaddset (&caught_signals, sig[i]); in main() 4369 if (sigismember (&caught_signals, sig[i])) in main() [all …]
|
D | split.c | 586 int sig = WTERMSIG (wstatus); in closeout() local 587 if (sig != SIGPIPE) in closeout() 590 if (sig2str (sig, signame) != 0) in closeout() 591 sprintf (signame, "%d", sig); in closeout() 592 error (sig + 128, 0, in closeout()
|
D | dd.c | 53 # define siginterrupt(sig, flag) /* empty */ argument 844 interrupt_handler (int sig) in interrupt_handler() argument 847 signal (sig, SIG_DFL); in interrupt_handler() 848 interrupt_signal = sig; in interrupt_handler() 854 siginfo_handler (int sig) in siginfo_handler() argument 857 signal (sig, siginfo_handler); in siginfo_handler()
|
/coreutils/tests/ |
D | CuTmpdir.pm | 78 my ($sig) = @_; 86 $SIG{$sig} = 'DEFAULT'; 87 kill $sig, $$; 90 foreach my $sig (qw (INT TERM HUP)) 92 $SIG{$sig} = $on_sig_remove_tmpdir;
|
/coreutils/scripts/ |
D | autotools-install | 89 test -f $base.sig || $WGET_COMMAND $t.sig 99 $base.sig > /dev/null 2>&1 \
|
/coreutils/ |
D | .gitignore | 45 /coreutils-*.tar.gz.sig 47 /coreutils-*.tar.xz.sig
|
D | cfg.mk | 167 for sig in 1 2 3 13 15; do \ 168 eval "trap 'Exit $$(expr $$sig + 128)' $$sig"; \
|
/coreutils/doc/ |
D | coreutils.texi | 14426 | sort | gpg --clearsign > your-pkg-M.N.tar.sig 17860 @item --default-signal[=@var{sig}] 17861 Unblock and reset signal @var{sig} to its default signal handler. 17862 Without @var{sig} all known signals are unblocked and reset to their defaults. 17863 Multiple signals can be comma-separated. An empty @var{sig} argument is a no-op. 17890 @item --ignore-signal[=@var{sig}] 17891 Ignore signal @var{sig} when running a program. Without @var{sig} all 17893 An empty @var{sig} argument is a no-op. The following command runs @command{seq} 17915 @item --block-signal[=@var{sig}] 17916 Block signal(s) @var{sig} from being delivered. Without @var{sig} all [all …]
|