Lines Matching defs:wpid
645 pid_t pid, wpid;
775 if ((wpid = waitpid(-1, &status, WUNTRACED)) != -1)
776 collect_child(wpid, status);
777 if (wpid == -1) {
784 if (wpid == pid && WIFSTOPPED(status)) {
787 wpid = -1;
789 } while (wpid != pid && !requested_transition);
830 pid_t pid, wpid;
880 if ((wpid = waitpid(-1, &status, WUNTRACED)) != -1)
881 collect_child(wpid, status);
882 if (wpid == -1) {
889 if (wpid == pid && WIFSTOPPED(status)) {
893 wpid = -1;
895 } while (wpid != pid);