Home
last modified time | relevance | path

Searched refs:sigint (Results 1 – 16 of 16) sorted by relevance

/freebsd/lib/libc/tests/stdlib/
H A Dsystem_test.c109 struct sigaction sigint, sigquit, sigact; in ATF_TC_BODY() local
130 ATF_REQUIRE_EQ(0, sigaction(SIGINT, NULL, &sigint)); in ATF_TC_BODY()
171 ATF_CHECK_EQ(sigint.sa_handler, sigact.sa_handler); in ATF_TC_BODY()
172 ATF_CHECK_EQ(sigint.sa_flags, sigact.sa_flags); in ATF_TC_BODY()
173 ATF_CHECK_EQ(0, sigcmpset(&sigint.sa_mask, &sigact.sa_mask)); in ATF_TC_BODY()
/freebsd/usr.bin/fetch/
H A Dfetch.c92 static int sigint; /* SIGINT received */ variable
183 sigint = 1; in sig_handler()
527 if (sigalrm || sigint) in fetch()
582 if (sigalrm || sigint) in fetch()
597 if (sigint) in fetch()
715 if (sigint) in fetch()
751 sigalrm = siginfo = sigint = 0; in fetch()
756 while (!sigint) { in fetch()
771 if (ferror(f) && errno == EINTR && !sigint) in fetch()
780 if (ferror(of) && errno == EINTR && !sigint) in fetch()
[all …]
/freebsd/usr.bin/sdiff/
H A Dedit.c41 sig_t sighup, sigint, sigquit, sigchld; in editit() local
53 sigint = signal(SIGINT, SIG_IGN); in editit()
73 (void)signal(SIGINT, sigint); in editit()
/freebsd/usr.bin/mail/
H A Dedit.c79 sig_t sigint; in edit1() local
97 sigint = signal(SIGINT, SIG_IGN); in edit1()
118 (void)signal(SIGINT, sigint); in edit1()
H A Dcollect.c543 sig_t sigint = signal(SIGINT, SIG_IGN); in mesedit() local
551 (void)signal(SIGINT, sigint); in mesedit()
565 sig_t sigint = signal(SIGINT, SIG_IGN); in mespipe() local
599 (void)signal(SIGINT, sigint); in mespipe()
H A Dcmd3.c48 sig_t sigint = signal(SIGINT, SIG_IGN); in shell() local
59 (void)signal(SIGINT, sigint); in shell()
71 sig_t sigint = signal(SIGINT, SIG_IGN); in dosh() local
77 (void)signal(SIGINT, sigint); in dosh()
/freebsd/usr.bin/tee/tests/
H A Dtee_test.sh60 porch -f $(atf_get_srcdir)/sigint.orch tee file
63 atf_check porch -f $(atf_get_srcdir)/sigint.orch tee -i file
H A DMakefile4 ${PACKAGE}FILES+= sigint.orch
/freebsd/bin/dd/tests/
H A Ddd2_test.sh50 atf_test_case sigint
70 atf_test_case sigint
/freebsd/usr.sbin/bluetooth/hcsecd/
H A Dhcsecd.c61 static void sigint
107 sa.sa_handler = sigint; in main()
429 sigint(int s) in sigint() function
/freebsd/usr.bin/login/
H A Dlogin.c89 static void sigint(int);
858 sigint(int signo __unused) in sigint() function
876 newint.sa_handler = sigint; in motd()
/freebsd/contrib/bc/src/
H A Dvm.c245 const char* const sigint = BC_DEFAULT_SIGINT_RESET ? "to reset" : local
257 BC_BUILD_TYPE, banner, sigint, tty, prompt, expr,
265 const char* const sigint = DC_DEFAULT_SIGINT_RESET ? "to reset" : local
277 BC_BUILD_TYPE, sigint, tty, prompt, expr, clamp);
/freebsd/usr.bin/chat/
H A Dchat.c149 SIGTYPE sigint(int signo);
453 SIGTYPE sigint(int signo __unused) in sigint() function
470 signal(SIGINT, sigint); in init()
/freebsd/contrib/tcsh/
H A Dsh.exec.c531 struct sigaction sigint, sigquit, sigterm; member
540 sigaction(SIGINT, &state->sigint, NULL); in execash_cleanup()
575 sigaction(SIGINT, &parintr, &state.sigint); in execash()
H A DFixes396 42. sigint.patch: Block SIGINT while waiting on children.
/freebsd/sys/contrib/dev/acpica/
H A Dchanges.txt2141 AcpiExec: Restored a force-exit on multiple control-c (sigint)