Searched refs:WEXITSTATUS (Results 1 - 25 of 247) sorted by relevance

12345678910

/freebsd-10-stable/contrib/gdb/gdb/
H A Dgdb_wait.h68 #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 DUnix.h54 #ifndef WEXITSTATUS
55 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) macro
/freebsd-10-stable/usr.sbin/cron/cron/
H A Dexterns.h85 # 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 Dwait.h31 # 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 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-10-stable/crypto/openssh/openbsd-compat/
H A Dbsd-waitpid.h42 #define WEXITSTATUS(w) (int)(WIFEXITED(w) ? ((_W_INT(w) >> 8) & 0377) : -1) macro
/freebsd-10-stable/contrib/tcsh/
H A Dmi.wait.h30 #define WEXITSTATUS(s) (__HIGH(s)) /* exit status */ macro
/freebsd-10-stable/contrib/gcclibs/libiberty/testsuite/
H A Dtest-pexecute.c59 #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 Dtest-popen.c90 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 Dtest-posix_spawn.c66 assert(WIFEXITED(status) && WEXITSTATUS(status) == 42);
79 assert(WIFEXITED(status) && WEXITSTATUS(status) == 127);
/freebsd-10-stable/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-10-stable/contrib/netbsd-tests/lib/libc/c063/
H A Dt_fexecve.c81 if (WEXITSTATUS(status) == 76)
84 ATF_REQUIRE(WEXITSTATUS(status) == EXIT_SUCCESS);
/freebsd-10-stable/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) {
172 if (WEXITSTATUS(sta) == EFAULT)
175 if (WEXITSTATUS(sta) == EINVAL)
223 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
H A Dt_kill.c113 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 Dt_clone.c140 WEXITSTATUS(stat), frobme[1]);
142 switch (WEXITSTATUS(stat)) {
157 WEXITSTATUS(stat));
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/termios/
H A Dt_tcsetpgrp.c77 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS)
/freebsd-10-stable/sbin/growfs/tests/
H A Dlegacy_test.pl22 (WEXITSTATUS($?) == 0 || WEXITSTATUS($?) == 7);
/freebsd-10-stable/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-10-stable/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-10-stable/contrib/opie/
H A Dpopen.c208 #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 Dprivate.h114 #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 Dsemtest.c46 if (WIFEXITED(status) && WEXITSTATUS(status) == 0)
86 if (WIFEXITED(status) && WEXITSTATUS(status) == 0)
/freebsd-10-stable/contrib/netbsd-tests/dev/sysmon/
H A Dt_swwdog.c145 ATF_REQUIRE_EQ(WEXITSTATUS(status), 0);
182 ATF_REQUIRE_EQ(WEXITSTATUS(status), 2);

Completed in 262 milliseconds

12345678910