Searched refs:childPid (Results 1 – 2 of 2) sorted by relevance
54 pid_t childPid; in main() local60 if (doLog && (childPid = fork()) != 0) { in main()71 int ret = waitid(P_PID, childPid, &info, WEXITED | WSTOPPED | WCONTINUED); in main()
313 pid_t childPid = -1; in main() local375 childPid = fork(); in main()376 if (childPid == -1) { in main()379 } else if (childPid == 0) { in main()443 if (childPid != -1) { in main()446 waitpid(childPid, &status, 0); in main()