Searched refs:child_pid (Results 1 – 1 of 1) sorted by relevance
79 pid_t child_pid = waitpid(pid, status, WNOHANG); in waitpid_with_timeout() local80 if (child_pid != pid) { in waitpid_with_timeout()81 if (child_pid != -1) { in waitpid_with_timeout()82 printf("*** Waiting for pid %d, got pid %d instead\n", pid, child_pid); in waitpid_with_timeout()