Searched refs:SIGINT (Results 51 - 75 of 343) sorted by relevance

1234567891011>>

/freebsd-13-stable/usr.bin/apply/
H A Dapply.c239 intsave = signal(SIGINT, SIG_IGN);
243 (void)signal(SIGINT, intsave);
/freebsd-13-stable/usr.bin/mail/
H A Dedit.c105 sigint = signal(SIGINT, SIG_IGN);
126 (void)signal(SIGINT, sigint);
H A Dpopen.c147 (void)sigaddset(&nset, SIGINT);
213 * SIGINT is enabled unless it's in "nset".
282 if (nset == NULL || !sigismember(nset, SIGINT))
283 (void)signal(SIGINT, SIG_DFL);
/freebsd-13-stable/usr.bin/sdiff/
H A Dedit.c56 sigint = signal(SIGINT, SIG_IGN);
76 (void)signal(SIGINT, sigint);
/freebsd-13-stable/contrib/xz/src/xz/
H A Dsignals.c58 SIGINT,
160 // printing unwanted message about SIGINT when the user
179 // by C89, they are not really used, and e.g. SIGINT doesn't work exactly
184 // NOTE: This doesn't work under MSYS. Trying with SIGINT doesn't work
/freebsd-13-stable/contrib/tcsh/
H A Ddotlock.c135 (void)sigaddset(&nset, SIGINT);
H A Dtw.help.c140 (void)sigaction(SIGINT, &sa, &osa);
/freebsd-13-stable/libexec/rpc.rstatd/
H A Drstatd.c85 (void) signal(SIGINT, cleanup);
/freebsd-13-stable/usr.sbin/bsdinstall/scripts/
H A Dauto150 trap true SIGINT # This section is optional
153 trap error SIGINT # Catch cntrl-C here
431 trap true SIGINT # This section is optional
498 trap error SIGINT # SIGINT is bad again
/freebsd-13-stable/usr.bin/tip/libacu/
H A Ddn11.c84 signal(SIGINT, SIG_IGN);
/freebsd-13-stable/lib/libutil/tests/
H A Dpidfile_test.c155 signal(SIGINT, signal_handler);
176 EV_SET(&ke, SIGINT, EVFILT_SIGNAL, EV_ADD, 0, 0, NULL);
180 /* Inform the parent we are ready to receive SIGINT */
183 /* Wait for SIGINT received */
226 if (kill(pid, SIGINT) != 0)
H A Dflopen_test.c176 kill(pid, SIGINT);
/freebsd-13-stable/contrib/bc/src/
H A Dvm.c102 if (!BC_TTY || sig != SIGINT) vm.status = BC_STATUS_QUIT;
106 if (BC_TTY && sig == SIGINT) {
134 sigaction(SIGINT, &sa, NULL);
/freebsd-13-stable/contrib/libarchive/libarchive_fe/
H A Dpassphrase.c154 M(SIGINT, SIGPIPE)), \
235 (void)sigaction(SIGINT, &sa, &saveint);
281 (void)sigaction(SIGINT, &saveint, NULL);
/freebsd-13-stable/contrib/ncurses/ncurses/tty/
H A Dlib_tstp.c67 case SIGINT:
68 return "SIGINT";
259 && (sig == SIGINT || sig == SIGTERM)) {
401 CatchIfDefault(SIGINT, handle_SIGINT);
/freebsd-13-stable/usr.bin/patch/
H A Dutil.c306 intval = signal(SIGINT, SIG_IGN);
311 signal(SIGINT, intval);
321 signal(SIGINT, SIG_IGN);
/freebsd-13-stable/usr.bin/tcopy/
H A Dtcopy.c148 if ((oldsig = signal(SIGINT, SIG_IGN)) != SIG_IGN)
149 (void) signal(SIGINT, intr);
215 (void)signal(SIGINT, oldsig);
/freebsd-13-stable/crypto/heimdal/appl/ftp/ftp/
H A Dcmds.c459 oldintr = signal(SIGINT, mabort);
508 signal(SIGINT, oldintr);
564 signal(SIGINT, oldintr);
728 oldintr = signal(SIGINT, mabort);
764 signal(SIGINT,oldintr);
1108 oldintr = signal(SIGINT, mabort);
1127 signal(SIGINT, oldintr);
1212 oldintr = signal(SIGINT, mabort);
1227 signal(SIGINT, oldintr);
1243 old1 = signal (SIGINT, SIG_IG
[all...]
H A Dmain.c148 signal(SIGINT, intr);
162 signal(SIGINT, intr);
335 signal(SIGINT, intr);
/freebsd-13-stable/usr.sbin/ppp/
H A Dmain.c139 sig_signal(SIGINT, SIG_IGN);
142 sig_signal(SIGINT, CloseConnection);
159 kill(BGPid, SIGINT);
401 sig_signal(SIGINT, CloseConnection);
463 signal(SIGINT, KillChild);
/freebsd-13-stable/contrib/capsicum-test/
H A Dprocdesc.cc666 // SIGINT isn't
667 EXPECT_OK(pdkill(pd, SIGINT));
672 EXPECT_EQ(0, pdkill(pd, SIGINT));
677 EXPECT_EQ(-1, pdkill(pd, SIGINT));
883 // Child: set a SIGINT handler, notify the parent and sleep.
886 signal(SIGINT, handle_signal);
890 // Note: we could receive the SIGINT just before sleep(), so we use a loop
892 for (int i = 0; i < 50 && !had_signal[SIGINT]; i++) {
895 if (verbose) fprintf(stderr, "[%d] child slept, had[SIGINT]=%d\n",
896 getpid_(), (int)had_signal[SIGINT]);
[all...]
/freebsd-13-stable/contrib/telnet/telnet/
H A Dsys_bsd.c110 #ifdef SIGINT
112 #endif /* SIGINT */
590 #ifdef SIGINT
591 (void) signal(SIGINT, intr);
644 #ifdef SIGINT
645 (void) signal(SIGINT, SIG_DFL);
811 (void) signal(SIGINT, intr);
/freebsd-13-stable/libexec/getty/
H A Dmain.c187 signal(SIGINT, SIG_IGN);
403 signal(SIGINT, SIG_DFL);
418 signal(SIGINT, SIG_IGN);
527 signal(SIGINT, SIG_IGN);
530 signal(SIGINT, interrupt);
615 signal(SIGINT, SIG_IGN);
/freebsd-13-stable/contrib/openpam/lib/libpam/
H A Dopenpam_ttyconv.c72 case SIGINT:
123 sigaction(SIGINT, &action, &saction_sigint);
194 sigaction(SIGINT, &saction_sigint, NULL);
/freebsd-13-stable/crypto/heimdal/kadmin/
H A Dutil.c585 osig = signal(SIGINT, interrupt);
587 signal(SIGINT, osig);
597 signal(SIGINT, osig);
605 signal(SIGINT, osig);

Completed in 179 milliseconds

1234567891011>>