Searched refs:SIGINT (Results 126 - 150 of 343) sorted by relevance

1234567891011>>

/freebsd-13-stable/usr.bin/tip/tip/
H A Dtipout.c139 signal(SIGINT, SIG_IGN);
/freebsd-13-stable/crypto/heimdal/lib/sl/
H A Dsl.c294 old = signal(SIGINT, sl_sigint);
298 signal(SIGINT, old);
/freebsd-13-stable/usr.sbin/bluetooth/rfcomm_pppd/
H A Drfcomm_pppd.c205 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 Dbridge.c34 signal(SIGINT, SIG_DFL);
321 signal(SIGINT, sigint_h);
/freebsd-13-stable/usr.bin/csplit/
H A Dcsplit.c155 sigaddset(&sa.sa_mask, SIGINT);
158 sigaction(SIGINT, &sa, NULL);
/freebsd-13-stable/contrib/diff/src/
H A Dsdiff.c84 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 Djobs.c568 * 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 Dhastd.c69 /* 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 Dopielogin.c336 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 Dctfmerge.c577 * 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 Dlpd.c318 sigaddset(&nmask, SIGINT);
325 signal(SIGINT, mcleanup);
403 signal(SIGINT, SIG_IGN);
/freebsd-13-stable/usr.sbin/lpr/lpr/
H A Dlpr.c153 if (signal(SIGINT, SIG_IGN) != SIG_IGN)
154 signal(SIGINT, cleanup);
675 signal(SIGINT, SIG_IGN);
/freebsd-13-stable/usr.sbin/pmc/
H A Dcmd_pmc_stat.c345 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 Dipmulticast.c691 signal(SIGINT, signal_handler);
718 case SIGINT: /* go bye bye */
732 signal(SIGINT, SIG_DFL);
/freebsd-13-stable/sbin/shutdown/
H A Dshutdown.c386 (void)kill(1, doreboot ? SIGINT : /* reboot */
553 (void)signal(SIGINT, finish);
/freebsd-13-stable/contrib/lua/src/
H A Dlua.c58 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 Dcrontab.c426 sig[1] = signal(SIGINT, SIG_IGN);
430 signal(SIGINT, sig[1]);
/freebsd-13-stable/usr.sbin/watchdogd/
H A Dwatchdogd.c164 signal(SIGINT, sighandler);
249 if (signum == SIGINT || signum == SIGTERM)
/freebsd-13-stable/usr.bin/m4/
H A Dmain.c177 if (signal(SIGINT, SIG_IGN) != SIG_IGN)
178 signal(SIGINT, onintr);
/freebsd-13-stable/usr.bin/mail/
H A Dlex.c208 if (signal(SIGINT, SIG_IGN) != SIG_IGN)
209 (void)signal(SIGINT, intr);
/freebsd-13-stable/usr.bin/su/
H A Dsu.c437 sigaction(SIGINT, &sa, &sa_int);
487 sigaction(SIGINT, &sa_int, NULL);
/freebsd-13-stable/contrib/sendmail/libsm/
H A Dt-sem.c203 (void) sm_signal(SIGINT, sem_cleanup);
/freebsd-13-stable/crypto/heimdal/kadmin/
H A Dkadm_conn.c196 signal(SIGINT, terminate);
/freebsd-13-stable/contrib/tcsh/
H A Dsh.func.c161 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 Dsh.init.c254 #ifdef SIGINT
255 if (mesg[SIGINT].pname == NULL) {
256 mesg[SIGINT].iname = "INT";
257 mesg[SIGINT].pname = CSAVS(2, 3, "Interrupt");
259 #endif /* SIGINT */

Completed in 177 milliseconds

1234567891011>>