Lines Matching refs:pid2
42 static int pid2; variable
48 int *pid2; member
55 {&pid2, &pid2, KCMP_FILE, &fd1, &fd2, 0},
56 {&pid1, &pid2, KCMP_FILE, &fd1, &fd1, 0},
57 {&pid1, &pid2, KCMP_FILE, &fd1, &fd2, 0},
58 {&pid1, &pid2, KCMP_FILE, &fd1, &fd3, 1},
80 pid2 = tst_fork(); in main()
82 if (pid2 == -1) in main()
85 if (!pid2) in main()
88 tst_record_childstatus(cleanup, pid2); in main()
99 pid2 = getpid(); in do_child()
103 TEST(kcmp(*(test->pid1), *(test->pid2), test->type, in do_child()