Searched refs:childPid (Results 1 – 2 of 2) sorted by relevance
51 pid_t childPid; in main() local57 if (doLog && (childPid = fork()) != 0) { in main()68 int ret = waitid(P_PID, childPid, &info, WEXITED | WSTOPPED | WCONTINUED); in main()
441 pid_t childPid = -1; in main() local499 childPid = fork(); in main()500 if (childPid == -1) { in main()503 } else if (childPid == 0) { in main()567 if (childPid != -1) { in main()570 waitpid(childPid, &status, 0); in main()