/freebsd-10-stable/contrib/gdb/gdb/ |
H A D | gdb_wait.h | 68 #ifndef WEXITSTATUS 69 #define WEXITSTATUS(w) (((w) >> 8) & 0377) /* same as WRETCODE */ macro 77 #define WSTOPSIG WEXITSTATUS
|
/freebsd-10-stable/contrib/llvm/lib/Support/Unix/ |
H A D | Unix.h | 54 #ifndef WEXITSTATUS 55 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) macro
|
/freebsd-10-stable/usr.sbin/cron/cron/ |
H A D | externs.h | 85 # ifndef WEXITSTATUS 86 # define WEXITSTATUS(x) (((x) >> 8) & 0xff) macro 95 # ifndef WEXITSTATUS 96 # define WEXITSTATUS(x) ((x).w_retcode) macro
|
/freebsd-10-stable/contrib/bmake/ |
H A D | wait.h | 31 # define WEXITSTATUS(x) ((&x)->w_retcode) macro 47 #ifndef WEXITSTATUS 48 # define WEXITSTATUS(_X) (((int)(_X)>>8)&0377) macro
|
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | t_exit.c | 77 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-10-stable/crypto/openssh/openbsd-compat/ |
H A D | bsd-waitpid.h | 42 #define WEXITSTATUS(w) (int)(WIFEXITED(w) ? ((_W_INT(w) >> 8) & 0377) : -1) macro
|
/freebsd-10-stable/contrib/tcsh/ |
H A D | mi.wait.h | 30 #define WEXITSTATUS(s) (__HIGH(s)) /* exit status */ macro
|
/freebsd-10-stable/contrib/gcclibs/libiberty/testsuite/ |
H A D | test-pexecute.c | 59 #ifndef WEXITSTATUS 60 #define WEXITSTATUS(S) (((S) & 0xff00) >> 8) macro 63 #define WSTOPSIG WEXITSTATUS 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 (statuse [all...] |
/freebsd-10-stable/tools/regression/lib/libc/gen/ |
H A D | test-popen.c | 90 if (!WIFEXITED(status) || WEXITSTATUS(status) != 7) 106 if (!WIFEXITED(status) || WEXITSTATUS(status) != 9) 124 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) 140 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) 166 if (!WIFEXITED(status) || WEXITSTATUS(status) != 88) 188 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) 211 if (!WIFEXITED(status) || WEXITSTATUS(status) != 1) { 216 if (!WIFEXITED(status) || WEXITSTATUS(status) != 1) {
|
H A D | test-posix_spawn.c | 66 assert(WIFEXITED(status) && WEXITSTATUS(status) == 42); 79 assert(WIFEXITED(status) && WEXITSTATUS(status) == 127);
|
/freebsd-10-stable/lib/libc/tests/gen/ |
H A D | popen_test.c | 87 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 D | posix_spawn_test.c | 67 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == 42); 88 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == 127);
|
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/c063/ |
H A D | t_fexecve.c | 81 if (WEXITSTATUS(status) == 76) 84 ATF_REQUIRE(WEXITSTATUS(status) == EXIT_SUCCESS);
|
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_getlogin.c | 114 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) 170 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) { 172 if (WEXITSTATUS(sta) == EFAULT) 175 if (WEXITSTATUS(sta) == EINVAL) 223 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
|
H A D | t_kill.c | 113 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) { 115 if (WEXITSTATUS(sta) == EINVAL) 118 if (WEXITSTATUS(sta) == ESRCH) 202 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) == EPERM) 205 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
|
H A D | t_clone.c | 140 WEXITSTATUS(stat), frobme[1]); 142 switch (WEXITSTATUS(stat)) { 157 WEXITSTATUS(stat));
|
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/termios/ |
H A D | t_tcsetpgrp.c | 77 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
|
/freebsd-10-stable/sbin/growfs/tests/ |
H A D | legacy_test.pl | 22 (WEXITSTATUS($?) == 0 || WEXITSTATUS($?) == 7);
|
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/gen/posix_spawn/ |
H A D | t_fileactions.c | 121 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 D | t_spawn.c | 159 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == 0); 165 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == 1); 171 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == 7);
|
/freebsd-10-stable/contrib/netbsd-tests/rump/rumpkern/h_client/ |
H A D | h_forkcli.c | 61 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) 111 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0)
|
/freebsd-10-stable/contrib/opie/ |
H A D | popen.c | 208 #if defined(WEXITSTATUS) && defined(WIFEXITED) 210 return WEXITSTATUS(status); 213 #else /* defined(WEXITSTATUS) && defined(WIFEXITED) */ 215 #endif /* defined(WEXITSTATUS) && defined(WIFEXITED) */
|
/freebsd-10-stable/contrib/tzcode/stdtime/ |
H A D | private.h | 114 #include <sys/wait.h> /* for WIFEXITED and WEXITSTATUS */ 120 #ifndef WEXITSTATUS 121 #define WEXITSTATUS(status) (((status) >> 8) & 0xff) macro 122 #endif /* !defined WEXITSTATUS */
|
/freebsd-10-stable/tools/regression/posixsem2/ |
H A D | semtest.c | 46 if (WIFEXITED(status) && WEXITSTATUS(status) == 0) 86 if (WIFEXITED(status) && WEXITSTATUS(status) == 0)
|
/freebsd-10-stable/contrib/netbsd-tests/dev/sysmon/ |
H A D | t_swwdog.c | 145 ATF_REQUIRE_EQ(WEXITSTATUS(status), 0); 182 ATF_REQUIRE_EQ(WEXITSTATUS(status), 2);
|