Lines Matching refs:p
76 pid_t p = __clone_internal (&clone_args, f, 0); in do_test() local
77 if (p == -1) in do_test()
82 printf ("new thread: %d\n", (int) p); in do_test()
89 kill (p, SIGKILL); in do_test()
95 xwaitpid (p, &e, __WCLONE); in do_test()
110 if (si.si_int != (int) p) in do_test()
112 printf ("expected PID %d, got si_int %d\n", (int) p, si.si_int); in do_test()
113 kill (p, SIGKILL); in do_test()
117 if (si.si_pid != p) in do_test()
119 printf ("expected PID %d, got si_pid %d\n", (int) p, (int) si.si_pid); in do_test()
120 kill (p, SIGKILL); in do_test()