Home | History | Annotate | Download | only in strace

Lines Matching defs:status

48 # define WCOREDUMP(status)  ((status) & 0200)
64 printstatus(int status)
71 * are no wait status constructors it will have to do.
73 if (WIFSTOPPED(status)) {
74 int sig = WSTOPSIG(status);
78 status &= ~W_STOPCODE(sig);
80 else if (WIFSIGNALED(status)) {
82 signame(WTERMSIG(status)),
83 WCOREDUMP(status) ? " && WCOREDUMP(s)" : "");
84 status &= ~(W_EXITCODE(0, WTERMSIG(status)) | WCOREFLAG);
86 else if (WIFEXITED(status)) {
88 WEXITSTATUS(status));
90 status &= ~W_EXITCODE(WEXITSTATUS(status), 0);
93 else if (WIFCONTINUED(status)) {
95 status &= ~W_CONTINUED;
99 tprintf("[%#x]", status);
103 if (status) {
104 unsigned int event = (unsigned int) status >> 16;
109 status &= 0xffff;
111 if (status)
112 tprintf(" | %#x", status);
133 int status;
135 /* status */
138 else if (!umove_or_printaddr(tcp, tcp->u_arg[1], &status))
139 printstatus(status);