Searched refs:WIFSIGNALED (Results 1 - 25 of 120) sorted by relevance

12345

/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dbsd-waitpid.h33 #undef WIFSIGNALED macro
39 #define WIFSIGNALED(w) (!WIFEXITED(w) && !WIFSTOPPED(w)) macro
41 #define WTERMSIG(w) (int)(WIFSIGNALED(w) ? (_W_INT(w) & 0177) : -1)
/freebsd-11-stable/contrib/gdb/gdb/
H A Dgdb_wait.h49 #ifndef WIFSIGNALED
50 #define WIFSIGNALED(w) (((w)&0377) != 0177 && ((w)&~0377) == 0) macro
/freebsd-11-stable/contrib/tcsh/
H A Dmi.wait.h32 #define WIFSIGNALED(s) ((((unsigned int)(s)-1) & 0xFFFF) < 0xFF) /* signaled */ macro
H A Dtc.wait.h150 # define WIFSIGNALED(x) (((x).w_stopval != WSTOPPED) && ((x).w_termsig != 0))
/freebsd-11-stable/tests/sys/kern/
H A Dwaitpid_nohang.c62 ATF_CHECK(WIFSIGNALED(status) && WTERMSIG(status) == SIGTERM);
H A Dreaper.c476 ATF_CHECK(WIFSIGNALED(status) && WTERMSIG(status) == SIGTERM);
630 ATF_CHECK(WIFSIGNALED(status) && WTERMSIG(status) == SIGTERM);
636 ATF_CHECK(WIFSIGNALED(status) && WTERMSIG(status) == SIGTERM);
710 ATF_CHECK(WIFSIGNALED(status) && WTERMSIG(status) == SIGUSR1);
717 ATF_CHECK(WIFSIGNALED(status) && WTERMSIG(status) == SIGUSR1);
730 ATF_CHECK(WIFSIGNALED(status) && WTERMSIG(status) == SIGUSR2);
737 ATF_CHECK(WIFSIGNALED(status) && WTERMSIG(status) == SIGUSR2);
/freebsd-11-stable/contrib/netbsd-tests/kernel/
H A Dt_ptrace_wait.h228 ATF_REQUIRE_MSG(!WIFSIGNALED(status), "Reported signaled process");
241 FORKEE_ASSERTX(!WIFSIGNALED(status));
252 ATF_REQUIRE_MSG(!WIFSIGNALED(status), "Reported signaled process");
261 FORKEE_ASSERTX(!WIFSIGNALED(status));
270 ATF_REQUIRE_MSG(WIFSIGNALED(status), "Reported !signaled process");
285 FORKEE_ASSERTX(WIFSIGNALED(status));
297 ATF_REQUIRE_MSG(!WIFSIGNALED(status), "Reported signaled process");
313 FORKEE_ASSERTX(!WIFSIGNALED(status));
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/
H A Dt_assert.c99 if (WIFSIGNALED(sta) != 0 || WIFEXITED(sta) == 0)
137 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGABRT)
H A Dt_pause.c103 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGKILL)
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_wait.c122 ATF_REQUIRE(WIFSIGNALED(st) && WTERMSIG(st) == SIGTERM);
159 ATF_REQUIRE(WIFSIGNALED(st) && WTERMSIG(st) == SIGSEGV
199 ATF_REQUIRE(!WIFSIGNALED(st));
214 ATF_REQUIRE(!WIFSIGNALED(st));
229 ATF_REQUIRE(WIFSIGNALED(st) && WTERMSIG(st) == SIGQUIT);
274 ATF_REQUIRE(!WIFSIGNALED(st));
285 ATF_REQUIRE(!WIFSIGNALED(st));
296 ATF_REQUIRE(WIFSIGNALED(st) && WTERMSIG(st) == SIGQUIT);
H A Dt_mkfifo.c103 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGKILL)
195 if (WIFSIGNALED(sta) != 0 || WTERMSIG(sta) == SIGKILL)
H A Dt_kill.c75 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != sig[i])
252 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGKILL)
298 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGKILL)
H A Dt_msgsnd.c114 if (WIFEXITED(sta) != 0 || WIFSIGNALED(sta) == 0)
272 if (WIFEXITED(sta) == 0 || WIFSIGNALED(sta) != 0)
H A Dt_msgrcv.c139 if (WIFEXITED(sta) == 0 || WIFSIGNALED(sta) != 0)
282 if (WIFSIGNALED(sta) != 0 || WTERMSIG(sta) == SIGKILL)
/freebsd-11-stable/usr.sbin/cron/cron/
H A Dexterns.h106 #ifndef WIFSIGNALED
107 #define WIFSIGNALED(x) (WTERMSIG(x) != 0) macro
/freebsd-11-stable/contrib/netbsd-tests/rump/rumpkern/
H A Dt_signals.c112 ATF_REQUIRE(WIFSIGNALED(status) && WTERMSIG(status) == SIGABRT);
H A Dt_kern.c75 ATF_REQUIRE(WIFSIGNALED(status) && WTERMSIG(status) == SIGABRT);
/freebsd-11-stable/contrib/amd/amd/
H A Dsched.c244 WIFSIGNALED(p->w) ? WTERMSIG(p->w) : 0,
265 if (WIFSIGNALED(w))
/freebsd-11-stable/sys/sys/
H A Dwait.h56 #define WIFSIGNALED(x) (_WSTATUS(x) != _WSTOPPED && _WSTATUS(x) != 0 && (x) != 0x13) macro
/freebsd-11-stable/tools/test/ptrace/
H A Dscescx.c64 if (WIFSIGNALED(status)) {
231 if (WIFEXITED(status) || WIFSIGNALED(status)) {
256 if (WIFEXITED(status) || WIFSIGNALED(status)) {
297 if (WIFEXITED(status) || WIFSIGNALED(status)) {
/freebsd-11-stable/usr.sbin/kgzip/
H A Dkgzld.c100 if (WIFSIGNALED(status) || WEXITSTATUS(status))
/freebsd-11-stable/gnu/usr.bin/rcs/lib/
H A Dconf.h313 #undef WIFSIGNALED /* Avoid 4.3BSD incompatibility with Posix. */ macro
315 #ifndef WIFSIGNALED
316 #define WIFSIGNALED(stat_val) ((unsigned)(stat_val) - 1 < 0377) macro
/freebsd-11-stable/contrib/netbsd-tests/dev/sysmon/
H A Dt_swwdog.c164 ATF_REQUIRE(WIFSIGNALED(status));
/freebsd-11-stable/contrib/gcclibs/libiberty/testsuite/
H A Dtest-pexecute.c50 #ifndef WIFSIGNALED
51 #define WIFSIGNALED(S) (((S) & 0xff) != 0 && ((S) & 0xff) != 0x7f) macro
272 if (!WIFSIGNALED (status) || WTERMSIG (status) != SIGABRT)
/freebsd-11-stable/contrib/netbsd-tests/rump/rumpkern/h_client/
H A Dh_stresscli.c208 if (!WIFSIGNALED(status) || WTERMSIG(status) != thesig){

Completed in 199 milliseconds

12345