Lines Matching refs:pid
62 static void ga_wait_child(pid_t pid, int *status, Error **errp) in ga_wait_child() argument
68 rpid = RETRY_ON_EINTR(waitpid(pid, status, 0)); in ga_wait_child()
72 pid); in ga_wait_child()
76 g_assert(rpid == pid); in ga_wait_child()
114 pid_t pid; in ga_run_command() local
128 pid = fork(); in ga_run_command()
129 if (pid == 0) { in ga_run_command()
156 } else if (pid < 0) { in ga_run_command()
181 ga_wait_child(pid, &status, errp); in ga_run_command()