Lines Matching refs:child
31 pid_t child = _kern_wait_for_child(pid, options | WEXITED, &info,
36 if (child < 0) {
37 // When not getting a child status when WNOHANG was specified, don't
39 if (child == B_WOULD_BLOCK && (options & WNOHANG) != 0)
41 RETURN_AND_SET_ERRNO(child);
83 return child;
100 // any child
105 // the child with the given ID
111 // any child in the given process group
121 pid_t child = _kern_wait_for_child(id, options, info, NULL);
122 if (child >= 0 || child == B_WOULD_BLOCK)
125 RETURN_AND_SET_ERRNO_TEST_CANCEL(child);