Lines Matching refs:status
47 proc_init(pid_t pid, int flags, int status, struct proc_handle *phdl)
55 phdl->status = status;
78 int status;
103 if (waitpid(pid, &status, WUNTRACED) == -1) {
109 /* Check for an unexpected status. */
110 if (WIFSTOPPED(status) == 0)
111 DPRINTFX("ERROR: child process %d status 0x%x", pid, status);
113 phdl->status = PS_STOP;
129 int status;
164 if (waitpid(pid, &status, WUNTRACED) == -1) {
170 /* Check for an unexpected status. */
171 if (WIFSTOPPED(status) == 0) {
173 DPRINTFX("ERROR: child process %d status 0x%x", pid, status);
176 phdl->status = PS_STOP;