Lines Matching defs:pid
69 wait_and_check_child(const pid_t pid, const char *fail_message)
73 (void)waitpid(pid, &status, 0);
115 const pid_t pid = fork();
116 if (pid == -1)
118 else if (pid == 0)
121 wait_and_check_child(pid, "Child process did not exit cleanly;"
133 const pid_t pid = fork();
134 if (pid == -1)
136 else if (pid == 0)
139 wait_and_check_child(pid, "Child process did not exit cleanly;"