Searched refs:WIFEXITED (Results 1 - 25 of 197) sorted by relevance

12345678

/freebsd-11.0-release/crypto/openssh/openbsd-compat/
H A Dbsd-waitpid.h33 #undef WIFEXITED macro
39 #define WIFEXITED(w) (!((_W_INT(w)) & 0377)) macro
41 #define WIFSIGNALED(w) (!WIFEXITED(w) && !WIFSTOPPED(w))
42 #define WEXITSTATUS(w) (int)(WIFEXITED(w) ? ((_W_INT(w) >> 8) & 0377) : -1)
/freebsd-11.0-release/contrib/gdb/gdb/
H A Dgdb_wait.h45 #ifndef WIFEXITED
46 #define WIFEXITED(w) (((w)&0377) == 0) macro
/freebsd-11.0-release/contrib/tcsh/
H A Dmi.wait.h29 #define WIFEXITED(s) (__LOW(s) == 0) /* normal exit */ macro
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/stdlib/
H A Dt_exit.c77 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
105 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
133 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != i)
168 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
/freebsd-11.0-release/lib/libc/tests/gen/
H A Dpopen_test.c87 ATF_CHECK_MSG(WIFEXITED(status) && WEXITSTATUS(status) == 7,
113 ATF_CHECK_MSG(WIFEXITED(status) && WEXITSTATUS(status) == 9,
131 ATF_CHECK_MSG(WIFEXITED(status) && WEXITSTATUS(status) == 0,
155 ATF_CHECK_MSG(WIFEXITED(status) && WEXITSTATUS(status) == 0,
177 ATF_CHECK_MSG(WIFEXITED(status) && WEXITSTATUS(status) == 88,
201 ATF_CHECK_MSG(WIFEXITED(status) && WEXITSTATUS(status) == 1,
204 ATF_CHECK_MSG(WIFEXITED(status) && WEXITSTATUS(status) == 1,
237 ATF_CHECK_MSG(WIFEXITED(status) && WEXITSTATUS(status) == 0,
H A Dposix_spawn_test.c67 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == 42);
88 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == 127);
/freebsd-11.0-release/contrib/gcclibs/libiberty/testsuite/
H A Dtest-pexecute.c56 #ifndef WIFEXITED
57 #define WIFEXITED(S) (((S) & 0xff) == 0) macro
252 if (!WIFEXITED (status) || WEXITSTATUS (status) != EXIT_SUCCESS)
261 if (!WIFEXITED (status) || WEXITSTATUS (status) != EXIT_FAILURE)
299 if (!WIFEXITED (statuses[0]) || WEXITSTATUS (statuses[0]) != EXIT_SUCCESS
300 || !WIFEXITED (statuses[1]) || WEXITSTATUS (statuses[1]) != EXIT_SUCCESS)
317 if (!WIFEXITED (statuses[0]) || WEXITSTATUS (statuses[0]) != EXIT_SUCCESS
318 || !WIFEXITED (statuses[1]) || WEXITSTATUS (statuses[1]) != EXIT_SUCCESS)
335 if (!WIFEXITED (statuses[0]) || WEXITSTATUS (statuses[0]) != EXIT_SUCCESS
336 || !WIFEXITED (statuse
[all...]
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/termios/
H A Dt_tcsetpgrp.c77 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
/freebsd-11.0-release/usr.sbin/cron/cron/
H A Dexterns.h109 #ifndef WIFEXITED
110 #define WIFEXITED(x) (WTERMSIG(x) == 0) macro
/freebsd-11.0-release/tests/sys/kern/
H A Dptrace_test.c149 ATF_REQUIRE(WIFEXITED(status));
196 ATF_REQUIRE(WIFEXITED(status));
254 CHILD_REQUIRE(WIFEXITED(status));
287 ATF_REQUIRE(WIFEXITED(status));
293 ATF_REQUIRE(WIFEXITED(status));
358 CHILD_REQUIRE(WIFEXITED(status));
370 ATF_REQUIRE(WIFEXITED(status));
405 ATF_REQUIRE(WIFEXITED(status));
430 CHILD_REQUIRE(WIFEXITED(status));
540 ATF_REQUIRE(WIFEXITED(statu
[all...]
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/gen/posix_spawn/
H A Dt_fileactions.c121 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == EXIT_SUCCESS);
147 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == EXIT_SUCCESS);
173 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == EXIT_FAILURE);
214 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == EXIT_SUCCESS);
243 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == 127);
333 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == EXIT_SUCCESS);
371 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == EXIT_SUCCESS);
H A Dt_spawn.c159 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == 0);
165 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == 1);
171 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == 7);
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/sys/
H A Dt_getlogin.c114 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
170 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) {
223 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
H A Dt_chroot.c98 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
170 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
222 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
303 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
H A Dt_getsid.c107 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
H A Dt_setuid.c109 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
/freebsd-11.0-release/contrib/opie/
H A Dpopen.c208 #if defined(WEXITSTATUS) && defined(WIFEXITED)
209 if ((pid > 0) && WIFEXITED(status))
213 #else /* defined(WEXITSTATUS) && defined(WIFEXITED) */
215 #endif /* defined(WEXITSTATUS) && defined(WIFEXITED) */
/freebsd-11.0-release/contrib/tzcode/stdtime/
H A Dprivate.h114 #include <sys/wait.h> /* for WIFEXITED and WEXITSTATUS */
117 #ifndef WIFEXITED
118 #define WIFEXITED(status) (((status) & 0xff) == 0) macro
119 #endif /* !defined WIFEXITED */
/freebsd-11.0-release/contrib/netbsd-tests/rump/rumpkern/h_client/
H A Dh_forkcli.c61 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0)
111 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0)
/freebsd-11.0-release/contrib/netbsd-tests/dev/sysmon/
H A Dt_swwdog.c143 ATF_REQUIRE(WIFEXITED(status));
180 ATF_REQUIRE(WIFEXITED(status));
/freebsd-11.0-release/tools/regression/posixsem2/
H A Dsemtest.c46 if (WIFEXITED(status) && WEXITSTATUS(status) == 0)
86 if (WIFEXITED(status) && WEXITSTATUS(status) == 0)
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/c063/
H A Dt_fexecve.c78 if (!WIFEXITED(status))
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/gen/
H A Dt_alarm.c106 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
H A Dt_getgrent.c164 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
/freebsd-11.0-release/contrib/netbsd-tests/lib/libpthread/
H A Dt_fork.c98 ATF_REQUIRE_MSG(WIFEXITED(status), "child died wrongly");

Completed in 137 milliseconds

12345678