Searched refs:pid2 (Results 1 – 3 of 3) sorted by relevance
127 pid_t pid2; in do_test() local191 pid2 = fork (); in do_test()192 if (pid2 == 0) in do_test()194 else if (pid2 == -1) in do_test()208 waitpid (pid2, &status2, 0); in do_test()
32 pid_t pid2; in thread_function() local49 pid2 = TEMP_FAILURE_RETRY (waitpid (pid, &status, 0)); in thread_function()50 if (pid2 != pid) in thread_function()53 (long int) pid2, (long int) pid); in thread_function()
8 pid_t pid, pid2; variable16 return (pid2 = f()) + 26; in getpid()30 if (pid != pid2 + 26) in main()