Searched refs:EXIT_CODE (Results 1 - 5 of 5) sorted by relevance

/ast/src/lib/libast/misc/
H A Dprocclose.c91 EXIT_CODE(WEXITSTATUS(status));
/ast/src/lib/libast/include/
H A Dast.h77 #define EXIT_CODE(x) ((x)&((1<<EXIT_BITS)-1)) macro
78 #define EXIT_CORE(x) (EXIT_CODE(x)|(1<<EXIT_BITS)|(1<<(EXIT_BITS-1)))
79 #define EXIT_TERM(x) (EXIT_CODE(x)|(1<<EXIT_BITS))
85 #define EXIT_STATUS(x) (((x)&((1<<(EXIT_BITS-2))-1))?(x):EXIT_CODE((x)>>EXIT_BITS))
/ast/src/cmd/nmake/
H A Dcommand.c33 #undef EXIT_CODE macro
34 #define EXIT_CODE(x) ((x)&0177) macro
938 sfprintf(state.mam.out, "%scode %s %d %s %s%s%s\n", state.mam.label, (job->target != state.frame->target || (job->target->property & P_after)) ? mamname(job->target) : "-", EXIT_CODE(cojob->status), timefmt(NiL, tm), timefmt(NiL, CURTIME), (job->target->dynamic & D_same) ? " same" : null, cojob->status && (job->flags & CO_IGNORE) ? " ignore" : null);
947 sfprintf(state.mam.out, "%scode %s %d %s%s%s\n", state.mam.label, mamname(p->rule), EXIT_CODE(cojob->status), timefmt(NiL, tm), (p->rule->dynamic & D_same) ? " same" : null, cojob->status && (job->flags & CO_IGNORE) ? " ignore" : null);
1187 if (n = !EXITED_TERM(cojob->status) || EXIT_CODE(cojob->status))
1191 error(n ? 2 : state.explain ? 0 : -1, "%s%s code %d making %s%s", n ? "*** " : null, ERROR_translate(NiL, NiL, NiL, EXITED_TERM(cojob->status) ? "termination" : "exit"), EXIT_CODE(cojob->status), job->target->name, (job->flags & CO_IGNORE) ? ERROR_translate(NiL, NiL, NiL, " ignored") : null);
/ast/src/lib/libast/sfio/
H A Dsfmode.c289 EXIT_CODE(WEXITSTATUS(status));
/ast/src/cmd/at/
H A Datd.c698 EXIT_CODE(WEXITSTATUS(status));

Completed in 16 milliseconds