Lines Matching refs:child
618 pid_t child;
679 if ((child = fork()) == -1) {
685 } else if (child == 0) { /* child */
726 if (waitpid(child, &child_status, 0) != child) {
1007 pid_t child;
1053 if ((child = fork()) == -1) {
1058 } else if (child == 0) {
1071 if (waitpid(child, &child_status, 0) != child) {
2042 * up if the child dies without doing a sema_post().
2058 * open while waiting. The child will close the rest after the fork.
2075 * In all cases (parent, child, and in the event of an error) we
2108 * The child charges on.