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

12345678

/freebsd-9.3-release/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-9.3-release/contrib/cvs/lib/
H A Dwait.h40 #ifndef WEXITSTATUS
41 #define WEXITSTATUS(w) (((w) >> 8) & 0xff) macro
/freebsd-9.3-release/contrib/llvm/lib/Support/Unix/
H A DUnix.h54 #ifndef WEXITSTATUS
55 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) macro
/freebsd-9.3-release/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-9.3-release/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-9.3-release/contrib/tcsh/
H A Dmi.wait.h30 #define WEXITSTATUS(s) (__HIGH(s)) /* exit status */ macro
/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dbsd-waitpid.h42 #define WEXITSTATUS(w) (int)(WIFEXITED(w) ? ((_W_INT(w) >> 8) & 0377) : -1) macro
/freebsd-9.3-release/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-9.3-release/tools/regression/lib/libc/gen/
H A Dtest-posix_spawn.c66 assert(WIFEXITED(status) && WEXITSTATUS(status) == 42);
79 assert(WIFEXITED(status) && WEXITSTATUS(status) == 127);
/freebsd-9.3-release/tools/regression/posixsem2/
H A Dsemtest.c44 if (WIFEXITED(status) && WEXITSTATUS(status) == 0)
84 if (WIFEXITED(status) && WEXITSTATUS(status) == 0)
/freebsd-9.3-release/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-9.3-release/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-9.3-release/tools/test/posixshm/
H A Dshm_test.c132 if (WIFEXITED(status) && WEXITSTATUS(status) == 0) {
137 WEXITSTATUS(status));
/freebsd-9.3-release/tools/regression/fifo/fifo_open/
H A Dfifo_open.c407 if (WEXITSTATUS(status) != 0) {
409 errno = WEXITSTATUS(status);
440 if (WEXITSTATUS(status) != ENXIO) {
443 errno = WEXITSTATUS(status);
/freebsd-9.3-release/tools/regression/security/cap_test/
H A Dcap_test.c109 result = WEXITSTATUS(status);
H A Dcap_test_pdfork.c108 success = WEXITSTATUS(status);
H A Dcap_test_pdkill.c96 success = WEXITSTATUS(status);
/freebsd-9.3-release/contrib/sendmail/include/sm/
H A Dconf.h505 # undef WEXITSTATUS macro
712 # undef WEXITSTATUS macro
1097 # undef WEXITSTATUS macro
1167 # undef WEXITSTATUS macro
1312 # undef WEXITSTATUS macro
1611 # undef WEXITSTATUS macro
1633 # undef WEXITSTATUS macro
1651 # undef WEXITSTATUS macro
1678 # define WEXITSTATUS(s) (((union wait*)&(s))->w_retcode) macro
1959 # undef WEXITSTATUS macro
2161 # undef WEXITSTATUS macro
2182 # undef WEXITSTATUS macro
2229 # undef WEXITSTATUS macro
2258 # undef WEXITSTATUS macro
2336 # undef WEXITSTATUS macro
2888 # define WEXITSTATUS macro
[all...]
/freebsd-9.3-release/contrib/amd/amd/
H A Dsched.c247 p->cb_fun(WIFEXITED(p->w) ? WEXITSTATUS(p->w) : 0,
274 pid, WEXITSTATUS(w));
/freebsd-9.3-release/contrib/cvs/diff/
H A Dsystem.h137 #ifndef WEXITSTATUS
138 #define WEXITSTATUS(stat_val) ((unsigned) (stat_val) >> 8) macro
/freebsd-9.3-release/release/picobsd/tinyware/passwd/
H A Dpw_util.c189 if (pid == -1 || !WIFEXITED(pstat) || WEXITSTATUS(pstat) != 0)
219 errno = WEXITSTATUS(pstat);
/freebsd-9.3-release/tools/regression/sysvsem/
H A Dsemtest.c232 if (WEXITSTATUS(cstatus) != 0)
234 WEXITSTATUS(cstatus));
/freebsd-9.3-release/tools/regression/sysvshm/
H A Dshmtest.c199 if (WEXITSTATUS(cstatus) != 0)
201 WEXITSTATUS(cstatus));
/freebsd-9.3-release/usr.bin/truss/
H A Dsetup.c191 info->pr_data = WEXITSTATUS(waitval);
207 info->pr_data = WEXITSTATUS(waitval);
/freebsd-9.3-release/bin/mv/
H A Dmv.c409 switch (WEXITSTATUS(status)) {
417 _PATH_CP, from, to, WEXITSTATUS(status));
434 switch (WEXITSTATUS(status)) {
442 _PATH_RM, from, WEXITSTATUS(status));

Completed in 226 milliseconds

12345678