Home
last modified time | relevance | path

Searched refs:npid (Results 1 – 5 of 5) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/kill/
Dkill12.c76 int pid, npid; in main() local
115 while ((npid = wait(&status)) != pid in main()
116 || (npid == -1 && errno == EINTR)) ; in main()
117 if (npid != pid) { in main()
123 while ((npid = waitpid(pid, &status, 0)) != -1 in main()
Dkill11.c62 pid_t pid, npid; in verify_kill() local
71 npid = SAFE_WAIT(&status); in verify_kill()
73 if (npid != pid) { in verify_kill()
74 tst_res(TFAIL, "wait() returned %d, expected %d", npid, pid); in verify_kill()
/third_party/ltp/testcases/kernel/syscalls/exit/
Dexit01.c40 int pid, npid, sig, nsig, exno, nexno, status; in main() local
65 npid = wait(&status); in main()
67 if (npid != pid) { in main()
/third_party/ltp/testcases/kernel/syscalls/waitpid/
Dwaitpid02.c70 int pid, npid, sig, nsig; in main() local
100 while (((npid = waitpid(pid, &status, 0)) != -1) || in main()
105 if (npid != pid) { in main()
Dwaitpid05.c78 int pid, npid, sig, nsig; in main() local
124 while (((npid = waitpid(pid, &status, 0)) != in main()
129 if (npid != pid) { in main()