Lines Matching refs:p
49 pid_t p = __clone2 (f, st, sizeof (st), TEST_CLONE_FLAGS, 0); in do_test() local
53 pid_t p = clone (f, st + sizeof (st), TEST_CLONE_FLAGS, 0); in do_test() local
55 pid_t p = clone (f, st, TEST_CLONE_FLAGS, 0); in do_test() local
60 if (p == -1) in do_test()
65 printf ("new thread: %d\n", (int) p); in do_test()
72 kill (p, SIGKILL); in do_test()
78 if (waitpid (p, &e, __WCLONE) != p) in do_test()
81 kill (p, SIGKILL); in do_test()
98 if (si.si_int != (int) p) in do_test()
100 printf ("expected PID %d, got si_int %d\n", (int) p, si.si_int); in do_test()
101 kill (p, SIGKILL); in do_test()
105 if (si.si_pid != p) in do_test()
107 printf ("expected PID %d, got si_pid %d\n", (int) p, (int) si.si_pid); in do_test()
108 kill (p, SIGKILL); in do_test()