| /freebsd-14.2/contrib/netbsd-tests/lib/libc/sys/ |
| H A D | t_kill.c | 75 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 D | t_wait.c | 126 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 D | t_mkfifo.c | 103 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 D | operations_test.cpp | 299 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 D | status.cpp | 59 std::make_pair(WTERMSIG(stat_loc), WCOREDUMP(stat_loc))) : in status()
|
| /freebsd-14.2/tools/test/stress2/misc/ |
| H A D | kevent15.sh | 152 if (WIFSIGNALED(status) && WTERMSIG(status) != 2) 155 pids[i], WTERMSIG(status));
|
| H A D | mmap32.sh | 184 pid, WTERMSIG(status)); 196 pid, WTERMSIG(status));
|
| H A D | mlockall6.sh | 150 fprintf(stderr, "Got signal %d\n", WTERMSIG(status)); 151 _exit(WTERMSIG(status));
|
| H A D | exlock2.sh | 195 pid2, WTERMSIG(status)); 205 pid1, WTERMSIG(status));
|
| /freebsd-14.2/contrib/nvi/ex/ |
| H A D | ex_shell.c | 170 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 D | reaper.c | 475 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 D | waitpid_nohang.c | 60 ATF_CHECK(WIFSIGNALED(status) && WTERMSIG(status) == SIGTERM); in ATF_TC_BODY()
|
| /freebsd-14.2/contrib/tcsh/ |
| H A D | mi.wait.h | 31 #define WTERMSIG(s) (__LOW(s) & 0177) /* sig value */ macro
|
| /freebsd-14.2/crypto/openssh/openbsd-compat/ |
| H A D | bsd-waitpid.h | 41 #define WTERMSIG(w) (int)(WIFSIGNALED(w) ? (_W_INT(w) & 0177) : -1) macro
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerUtilLinux.cpp | 30 if (WIFSIGNALED(exit_code) && WTERMSIG(exit_code) == SIGINT) in ExecuteCommand()
|
| /freebsd-14.2/contrib/netbsd-tests/lib/libc/gen/ |
| H A D | t_pause.c | 103 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGKILL) in ATF_TC_BODY()
|
| H A D | t_assert.c | 137 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGABRT) in ATF_TC_BODY()
|
| /freebsd-14.2/contrib/netbsd-tests/rump/rumpkern/ |
| H A D | t_signals.c | 112 ATF_REQUIRE(WIFSIGNALED(status) && WTERMSIG(status) == SIGABRT); in ATF_TC_BODY()
|
| H A D | t_kern.c | 75 ATF_REQUIRE(WIFSIGNALED(status) && WTERMSIG(status) == SIGABRT); in locktest()
|
| /freebsd-14.2/contrib/dialog/ |
| H A D | ui_getc.c | 59 #ifndef WTERMSIG 61 # define WTERMSIG(status) (status.w_termsig) macro 63 # define WTERMSIG(status) ((status) & 0x7f) macro
|
| /freebsd-14.2/contrib/bmake/ |
| H A D | wait.h | 32 # define WTERMSIG(x) ((&x)->w_termsig) macro
|
| /freebsd-14.2/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/badioctl/ |
| H A D | badioctl.c | 139 WTERMSIG(status)); in main()
|
| /freebsd-14.2/sys/sys/ |
| H A D | wait.h | 58 #define WTERMSIG(x) (_WSTATUS(x)) macro
|
| /freebsd-14.2/usr.bin/diff/ |
| H A D | pr.c | 122 WTERMSIG(wstatus)); in stop_pr()
|
| /freebsd-14.2/bin/sh/ |
| H A D | jobs.c | 419 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()
|