Lines Matching refs:childpid
8891 static int process_wait_result(struct pipe *fg_pipe, pid_t childpid, int status) in process_wait_result() argument
8903 childpid, WSTOPSIG(status), WEXITSTATUS(status)); in process_wait_result()
8906 childpid, WTERMSIG(status), WEXITSTATUS(status)); in process_wait_result()
8909 childpid, WEXITSTATUS(status)); in process_wait_result()
8919 if (fg_pipe->cmds[i].pid != childpid) in process_wait_result()
8981 if (pi->cmds[i].pid == childpid) in process_wait_result()
8986 debug_printf("checkjobs: pid %d was not in our list!\n", childpid); in process_wait_result()
9086 pid_t childpid; in checkjobs() local
9091 childpid = waitpid(-1, &status, attributes); in checkjobs()
9092 if (childpid <= 0) { in checkjobs()
9093 if (childpid && errno != ECHILD) in checkjobs()
9097 G.we_have_children = (childpid == 0); in checkjobs()
9103 rcode = childpid; in checkjobs()
9106 rcode = process_wait_result(fg_pipe, childpid, status); in checkjobs()
9111 if (childpid == waitfor_pid) { /* "wait PID" */ in checkjobs()
9112 debug_printf_exec("childpid==waitfor_pid:%d status:0x%08x\n", childpid, status); in checkjobs()