Home
last modified time | relevance | path

Searched refs:WTERMSIG (Results 1 – 25 of 147) sorted by relevance

123456

/freebsd-14.2/contrib/netbsd-tests/lib/libc/sys/
H A Dt_kill.c75 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != sig[i]) in ATF_TC_BODY()
252 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGKILL) in ATF_TC_BODY()
298 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGKILL) in ATF_TC_BODY()
H A Dt_wait.c126 ATF_REQUIRE(WIFSIGNALED(st) && WTERMSIG(st) == SIGTERM); in ATF_TC_BODY()
171 ATF_REQUIRE(WIFSIGNALED(st) && WTERMSIG(st) == SIGSEGV in ATF_TC_BODY()
241 ATF_REQUIRE(WIFSIGNALED(st) && WTERMSIG(st) == SIGQUIT); in ATF_TC_BODY()
308 ATF_REQUIRE(WIFSIGNALED(st) && WTERMSIG(st) == SIGQUIT); in ATF_TC_BODY()
H A Dt_mkfifo.c103 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGKILL) in ATF_TC_BODY()
195 if (WIFSIGNALED(sta) != 0 || WTERMSIG(sta) == SIGKILL) in ATF_TC_BODY()
/freebsd-14.2/contrib/kyua/utils/process/
H A Doperations_test.cpp299 ATF_REQUIRE(WTERMSIG(status) == SIGKILL); in ATF_TEST_CASE_BODY()
320 ATF_REQUIRE(WTERMSIG(status) == SIGKILL); in ATF_TEST_CASE_BODY()
355 ATF_REQUIRE(WTERMSIG(status) == SIGKILL); in ATF_TEST_CASE_BODY()
376 ATF_REQUIRE(WTERMSIG(status) == SIGABRT); in ATF_TEST_CASE_BODY()
H A Dstatus.cpp59 std::make_pair(WTERMSIG(stat_loc), WCOREDUMP(stat_loc))) : in status()
/freebsd-14.2/tools/test/stress2/misc/
H A Dkevent15.sh152 if (WIFSIGNALED(status) && WTERMSIG(status) != 2)
155 pids[i], WTERMSIG(status));
H A Dmmap32.sh184 pid, WTERMSIG(status));
196 pid, WTERMSIG(status));
H A Dmlockall6.sh150 fprintf(stderr, "Got signal %d\n", WTERMSIG(status));
151 _exit(WTERMSIG(status));
H A Dexlock2.sh195 pid2, WTERMSIG(status));
205 pid1, WTERMSIG(status));
/freebsd-14.2/contrib/nvi/ex/
H A Dex_shell.c170 if (WIFSIGNALED(pstat) && (!okpipe || WTERMSIG(pstat) != SIGPIPE)) { in proc_wait()
176 sigmsg(WTERMSIG(pstat)), in proc_wait()
/freebsd-14.2/tests/sys/kern/
H A Dreaper.c475 ATF_CHECK(WIFSIGNALED(status) && WTERMSIG(status) == SIGTERM); in ATF_TC_BODY()
629 ATF_CHECK(WIFSIGNALED(status) && WTERMSIG(status) == SIGTERM); in ATF_TC_BODY()
635 ATF_CHECK(WIFSIGNALED(status) && WTERMSIG(status) == SIGTERM); in ATF_TC_BODY()
709 ATF_CHECK(WIFSIGNALED(status) && WTERMSIG(status) == SIGUSR1); in ATF_TC_BODY()
716 ATF_CHECK(WIFSIGNALED(status) && WTERMSIG(status) == SIGUSR1); in ATF_TC_BODY()
729 ATF_CHECK(WIFSIGNALED(status) && WTERMSIG(status) == SIGUSR2); in ATF_TC_BODY()
736 ATF_CHECK(WIFSIGNALED(status) && WTERMSIG(status) == SIGUSR2); in ATF_TC_BODY()
H A Dwaitpid_nohang.c60 ATF_CHECK(WIFSIGNALED(status) && WTERMSIG(status) == SIGTERM); in ATF_TC_BODY()
/freebsd-14.2/contrib/tcsh/
H A Dmi.wait.h31 #define WTERMSIG(s) (__LOW(s) & 0177) /* sig value */ macro
/freebsd-14.2/crypto/openssh/openbsd-compat/
H A Dbsd-waitpid.h41 #define WTERMSIG(w) (int)(WIFSIGNALED(w) ? (_W_INT(w) & 0177) : -1) macro
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtilLinux.cpp30 if (WIFSIGNALED(exit_code) && WTERMSIG(exit_code) == SIGINT) in ExecuteCommand()
/freebsd-14.2/contrib/netbsd-tests/lib/libc/gen/
H A Dt_pause.c103 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGKILL) in ATF_TC_BODY()
H A Dt_assert.c137 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGABRT) in ATF_TC_BODY()
/freebsd-14.2/contrib/netbsd-tests/rump/rumpkern/
H A Dt_signals.c112 ATF_REQUIRE(WIFSIGNALED(status) && WTERMSIG(status) == SIGABRT); in ATF_TC_BODY()
H A Dt_kern.c75 ATF_REQUIRE(WIFSIGNALED(status) && WTERMSIG(status) == SIGABRT); in locktest()
/freebsd-14.2/contrib/dialog/
H A Dui_getc.c59 #ifndef WTERMSIG
61 # define WTERMSIG(status) (status.w_termsig) macro
63 # define WTERMSIG(status) ((status) & 0x7f) macro
/freebsd-14.2/contrib/bmake/
H A Dwait.h32 # define WTERMSIG(x) ((&x)->w_termsig) macro
/freebsd-14.2/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/badioctl/
H A Dbadioctl.c139 WTERMSIG(status)); in main()
/freebsd-14.2/sys/sys/
H A Dwait.h58 #define WTERMSIG(x) (_WSTATUS(x)) macro
/freebsd-14.2/usr.bin/diff/
H A Dpr.c122 WTERMSIG(wstatus)); in stop_pr()
/freebsd-14.2/bin/sh/
H A Djobs.c419 i = WTERMSIG(status); in showjob()
577 retval = WTERMSIG(status) + 128; in waitcmdloop()
1114 st = WTERMSIG(status) + 128; in waitforjob()
1118 if (!WIFSIGNALED(status) || WTERMSIG(status) != SIGINT) in waitforjob()
1123 WIFSIGNALED(status) && WTERMSIG(status) == SIGINT) in waitforjob()
1258 sig = WTERMSIG(sp->status); in dowait()

123456