Searched refs:SIGINT (Results 1 - 25 of 343) sorted by relevance

1234567891011>>

/freebsd-13-stable/libexec/rc/rc.d/
H A Dnetwait49 # Handle SIGINT (Ctrl-C); force abort of while() loop
50 trap break SIGINT
66 # Restore default SIGINT handler
67 trap - SIGINT
83 # Handle SIGINT (Ctrl-C); force abort of for() loop
84 trap break SIGINT
95 # Restore default SIGINT handler
96 trap - SIGINT
106 # Restore default SIGINT handler
107 trap - SIGINT
[all...]
/freebsd-13-stable/crypto/heimdal/lib/kadm5/
H A Dipropd_common.c56 sigaction(SIGINT, &sa, NULL);
64 signal(SIGINT, sigterm);
/freebsd-13-stable/lib/libc/gen/
H A Dsiglist.c41 [SIGINT] = "INT",
76 [SIGINT] = "Interrupt",
/freebsd-13-stable/contrib/libedit/
H A Dsig.h50 _DO(SIGINT) \
/freebsd-13-stable/lib/libc/stdlib/
H A Dsystem.c73 (void)sigaddset(&newsigblock, SIGINT);
95 * Block SIGINT/QUIT because sh -c handles it and wait for
101 (void)__libc_sigaction(SIGINT, &ign, &intact);
107 (void)__libc_sigaction(SIGINT, &intact, NULL);
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtilDarwin.cpp56 if (sigaction(SIGINT, &IgnoreSignalAction, &OldSigIntAction) == -1) {
57 Printf("Failed to ignore SIGINT\n");
64 (void)sigaction(SIGINT, &OldSigIntAction, NULL);
76 (void)sigaction(SIGINT, &OldSigIntAction, NULL);
93 (void)sigaddset(&DefaultSigSet, SIGINT);
141 if (sigaction(SIGINT, &OldSigIntAction, NULL) == -1) {
142 Printf("Failed to restore SIGINT handling\n");
/freebsd-13-stable/contrib/sendmail/libmilter/
H A Dsignal.c101 (void) sigaddset(&set, SIGINT);
138 case SIGINT:
172 (void) sigaddset(&set, SIGINT);
/freebsd-13-stable/bin/sh/
H A Derror.c93 * Called from trap.c when a SIGINT is received and not suppressed, or when
95 * (If the user specifies that SIGINT is to be trapped or ignored using the
99 * terminated if we get here, as if we were terminated directly by a SIGINT.
122 signal(SIGINT, SIG_DFL);
123 kill(getpid(), SIGINT); local
124 _exit(128 + SIGINT);
H A Dtrap.c272 case SIGINT:
380 if (signo == SIGINT && trap[SIGINT] == NULL) {
389 if (signo == SIGINT || signo == SIGQUIT)
476 setsignal(SIGINT);
/freebsd-13-stable/contrib/less/
H A Dsignal.c53 LSIGNAL(SIGINT, SIG_ACK);
55 LSIGNAL(SIGINT, u_interrupt);
166 (void) LSIGNAL(SIGINT, u_interrupt);
191 (void) LSIGNAL(SIGINT, SIG_DFL);
/freebsd-13-stable/crypto/heimdal/appl/ftp/ftp/
H A Dftp.c295 oldintr = signal(SIGINT, cmdabort);
318 (*oldintr) (SIGINT);
319 signal (SIGINT, oldintr);
339 sigaction (SIGINT, &sa, &osa);
349 sigaction (SIGINT, &osa, NULL);
399 sigaction (SIGINT, &osa, NULL);
406 osa.sa_handler (SIGINT);
456 oldintr = signal (SIGINT, cmdabort);
483 signal (SIGINT, oldintr);
547 signal (SIGINT, oldint
[all...]
/freebsd-13-stable/crypto/heimdal/kcm/
H A Dmain.c84 sigaction(SIGINT, &sa, NULL);
97 signal(SIGINT, sigterm);
/freebsd-13-stable/tools/regression/security/cap_test/
H A Dcap_test_pdkill.c76 signal(SIGINT, handle_signal);
88 error = pdkill(pd, SIGINT);
/freebsd-13-stable/contrib/sendmail/libsm/
H A Dsignal.c211 case SIGINT:
277 mask |= sigmask(SIGINT);
292 (void) sigset(SIGINT, SIG_HOLD);
301 (void) sigset(SIGINT, SIG_DFL);
312 (void) sigaddset(&sset, SIGINT);
/freebsd-13-stable/contrib/tcsh/
H A Dtc.sig.h124 sigaction(SIGINT, NULL, &(sv)[0]); \
132 sigaddset(&m__, SIGINT); \
144 sigaction(SIGINT, &(sv)[0], NULL); \
/freebsd-13-stable/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_killable.h41 #define SHUTDOWN_SIGS (sigmask(SIGKILL) | sigmask(SIGINT) | sigmask(SIGQUIT) | sigmask(SIGTRAP) | sigmask(SIGSTOP) | sigmask(SIGCONT))
/freebsd-13-stable/contrib/ntp/ntpsnmpd/
H A Dntpsnmpd.c102 signal(SIGINT, stop_server);
/freebsd-13-stable/crypto/heimdal/kdc/
H A Dmain.c134 sigaction(SIGINT, &sa, NULL);
146 signal(SIGINT, sigterm);
/freebsd-13-stable/usr.sbin/bsdinstall/scripts/
H A Djail113 trap true SIGINT # This section is optional
120 trap error SIGINT # SIGINT is bad again
/freebsd-13-stable/cddl/lib/libdtrace/
H A Dsignal.d30 inline int SIGINT = 2;
31 #pragma D binding "1.0" SIGINT
98 signal == SIGINT ? "SIGINT" :
/freebsd-13-stable/usr.bin/tip/tip/
H A Dcmds.c63 static void stopsnd(int); /* SIGINT handler during file transfers */
172 f = signal(SIGINT, intcopy);
205 signal(SIGINT, f);
266 signal(SIGINT, SIG_IGN);
314 f = signal(SIGINT, stopsnd);
386 signal(SIGINT, f);
488 signal(SIGINT, SIG_IGN);
508 signal(SIGINT, SIG_DFL);
518 signal(SIGINT, SIG_DFL);
541 signal(SIGINT, SIG_IG
[all...]
/freebsd-13-stable/usr.bin/mail/
H A Dcollect.c62 static sig_t saveint; /* Previous SIGINT value */
68 static int hadintr; /* Have seen one SIGINT so far */
90 (void)sigaddset(&nset, SIGINT);
93 if ((saveint = signal(SIGINT, SIG_IGN)) != SIG_IGN)
94 (void)signal(SIGINT, collint);
229 collint(SIGINT);
484 (void)signal(SIGINT, saveint);
544 sig_t sigint = signal(SIGINT, SIG_IGN);
552 (void)signal(SIGINT, sigint);
566 sig_t sigint = signal(SIGINT, SIG_IG
[all...]
/freebsd-13-stable/contrib/kyua/utils/signals/
H A Dinterrupts_test.cpp183 check_interrupts_handler(SIGINT, true);
184 check_interrupts_handler(SIGINT, false);
244 check_interrupts_inhibiter(SIGINT);
/freebsd-13-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctfconvert.c159 sighold(SIGINT);
225 sigset(SIGINT, handle_sig);
229 signal(SIGINT, handle_sig);
/freebsd-13-stable/crypto/heimdal/appl/rcp/
H A Dutil.c132 istat = signal(SIGINT, SIG_IGN);
136 (void)signal(SIGINT, istat);

Completed in 129 milliseconds

1234567891011>>