Lines Matching refs:wpid
697 pid_t pid, wpid; in single_user() local
827 if ((wpid = waitpid(-1, &status, WUNTRACED)) != -1) in single_user()
828 collect_child(wpid, status); in single_user()
829 if (wpid == -1) { in single_user()
836 if (wpid == pid && WIFSTOPPED(status)) { in single_user()
839 wpid = -1; in single_user()
841 } while (wpid != pid && !requested_transition); in single_user()
882 pid_t pid, wpid; in runetcrc() local
932 if ((wpid = waitpid(-1, &status, WUNTRACED)) != -1) in runetcrc()
933 collect_child(wpid, status); in runetcrc()
934 if (wpid == -1) { in runetcrc()
941 if (wpid == pid && WIFSTOPPED(status)) { in runetcrc()
945 wpid = -1; in runetcrc()
947 } while (wpid != pid); in runetcrc()