/freebsd-13-stable/usr.bin/tip/tip/ |
H A D | tipout.c | 139 signal(SIGINT, SIG_IGN);
|
/freebsd-13-stable/crypto/heimdal/lib/sl/ |
H A D | sl.c | 294 old = signal(SIGINT, sl_sigint); 298 signal(SIGINT, old);
|
/freebsd-13-stable/usr.sbin/bluetooth/rfcomm_pppd/ |
H A D | rfcomm_pppd.c | 205 if (sigaction(SIGINT, &sa, NULL) < 0) { 206 syslog(LOG_ERR, "Could not sigaction(SIGINT). %s (%d)", 354 sigaction(SIGINT, &sa, NULL);
|
/freebsd-13-stable/tools/tools/netmap/ |
H A D | bridge.c | 34 signal(SIGINT, SIG_DFL); 321 signal(SIGINT, sigint_h);
|
/freebsd-13-stable/usr.bin/csplit/ |
H A D | csplit.c | 155 sigaddset(&sa.sa_mask, SIGINT); 158 sigaction(SIGINT, &sa, NULL);
|
/freebsd-13-stable/contrib/diff/src/ |
H A D | sdiff.c | 84 SIGINT, 645 /* Block SIGINT and SIGPIPE. */ 647 sigaddset (&blocked, SIGINT); 656 /* Alter the child's SIGINT and SIGPIPE handlers; 658 The child ignores SIGINT in case the user interrupts the editor. 661 signal_handler (SIGINT, SIG_IGN); 664 /* Stop blocking SIGINT and SIGPIPE in the child. */ 679 /* Restore the parent's SIGINT and SIGPIPE behavior. */ 681 signal_handler (SIGINT, catchsig); 687 /* Stop blocking SIGINT an [all...] |
/freebsd-13-stable/bin/sh/ |
H A D | jobs.c | 568 * Loop until a process is terminated or stopped, or a SIGINT is 943 ignoresig(SIGINT); 955 ignoresig(SIGINT); 972 setsignal(SIGINT); 1118 if (!WIFSIGNALED(status) || WTERMSIG(status) != SIGINT) 1123 WIFSIGNALED(status) && WTERMSIG(status) == SIGINT) 1124 kill(getpid(), SIGINT); local 1261 if (sig > 0 && sig != SIGINT && sig != SIGPIPE) {
|
/freebsd-13-stable/sbin/hastd/ |
H A D | hastd.c | 69 /* Was SIGINT or SIGTERM signal received? */ 886 if (kill(res->hr_workerpid, SIGINT) == -1) { 1042 PJDLOG_VERIFY(sigaddset(&mask, SIGINT) == 0); 1048 case SIGINT: 1277 PJDLOG_VERIFY(signal(SIGINT, SIG_DFL) != SIG_ERR); 1287 PJDLOG_VERIFY(sigaddset(&mask, SIGINT) == 0);
|
/freebsd-13-stable/contrib/opie/ |
H A D | opielogin.c | 336 signal(SIGINT, SIG_IGN); 700 signal(SIGINT, SIG_IGN); 1414 signal(SIGINT, catch); 1420 signal(SIGINT, SIG_IGN); 1448 signal(SIGINT, SIG_DFL);
|
/freebsd-13-stable/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | ctfmerge.c | 577 * in place. If we merely exit upon receipt of a SIGINT, a subsequent make 585 * Another possibility would be to block SIGINT entirely - to always run to 701 sigaddset(&sets, SIGINT); 712 sigset(SIGINT, handle_sig); 716 signal(SIGINT, handle_sig);
|
/freebsd-13-stable/usr.sbin/lpr/lpd/ |
H A D | lpd.c | 318 sigaddset(&nmask, SIGINT); 325 signal(SIGINT, mcleanup); 403 signal(SIGINT, SIG_IGN);
|
/freebsd-13-stable/usr.sbin/lpr/lpr/ |
H A D | lpr.c | 153 if (signal(SIGINT, SIG_IGN) != SIG_IGN) 154 signal(SIGINT, cleanup); 675 signal(SIGINT, SIG_IGN);
|
/freebsd-13-stable/usr.sbin/pmc/ |
H A D | cmd_pmc_stat.c | 345 EV_SET(&kev, SIGINT, EVFILT_SIGNAL, EV_ADD, 0, 0, NULL); 347 err(EX_OSERR, "ERROR: Cannot register kevent for SIGINT"); 396 /* Handle SIGINT using the kqueue loop */ 401 if (sigaction(SIGINT, &sa, NULL) < 0) 406 * are killed by a SIGINT or we reached the time duration. 454 } else if (kev.ident == SIGINT) {
|
/freebsd-13-stable/tools/regression/netinet/ipmulticast/ |
H A D | ipmulticast.c | 691 signal(SIGINT, signal_handler); 718 case SIGINT: /* go bye bye */ 732 signal(SIGINT, SIG_DFL);
|
/freebsd-13-stable/sbin/shutdown/ |
H A D | shutdown.c | 386 (void)kill(1, doreboot ? SIGINT : /* reboot */ 553 (void)signal(SIGINT, finish);
|
/freebsd-13-stable/contrib/lua/src/ |
H A D | lua.c | 58 signal(i, SIG_DFL); /* if another SIGINT happens, terminate process */ 138 signal(SIGINT, laction); /* set C-signal handler */ 140 signal(SIGINT, SIG_DFL); /* reset C-signal handler */
|
/freebsd-13-stable/usr.sbin/cron/crontab/ |
H A D | crontab.c | 426 sig[1] = signal(SIGINT, SIG_IGN); 430 signal(SIGINT, sig[1]);
|
/freebsd-13-stable/usr.sbin/watchdogd/ |
H A D | watchdogd.c | 164 signal(SIGINT, sighandler); 249 if (signum == SIGINT || signum == SIGTERM)
|
/freebsd-13-stable/usr.bin/m4/ |
H A D | main.c | 177 if (signal(SIGINT, SIG_IGN) != SIG_IGN) 178 signal(SIGINT, onintr);
|
/freebsd-13-stable/usr.bin/mail/ |
H A D | lex.c | 208 if (signal(SIGINT, SIG_IGN) != SIG_IGN) 209 (void)signal(SIGINT, intr);
|
/freebsd-13-stable/usr.bin/su/ |
H A D | su.c | 437 sigaction(SIGINT, &sa, &sa_int); 487 sigaction(SIGINT, &sa_int, NULL);
|
/freebsd-13-stable/contrib/sendmail/libsm/ |
H A D | t-sem.c | 203 (void) sm_signal(SIGINT, sem_cleanup);
|
/freebsd-13-stable/crypto/heimdal/kadmin/ |
H A D | kadm_conn.c | 196 signal(SIGINT, terminate);
|
/freebsd-13-stable/contrib/tcsh/ |
H A D | sh.func.c | 161 sigset_interrupting(SIGINT, queue_pintr); 163 (void) signal(SIGINT, SIG_DFL); 167 (void) signal(SIGINT, SIG_IGN); 172 sigset_interrupting(SIGINT, queue_pintr);
|
H A D | sh.init.c | 254 #ifdef SIGINT 255 if (mesg[SIGINT].pname == NULL) { 256 mesg[SIGINT].iname = "INT"; 257 mesg[SIGINT].pname = CSAVS(2, 3, "Interrupt"); 259 #endif /* SIGINT */
|