Lines Matching defs:pid
96 pid_t pid;
101 pid = waitpid(wp_pid, &status, wp_opts);
103 if (pid == -1) {
113 if (pid == 0) {
125 pid, WSTOPSIG(status));
129 tst_res(TINFO, "Sending SIGCONT to %d", pid);
131 if (kill(pid, SIGCONT) < 0) {
133 "kill(%d, SIGCONT) failed", pid);
141 if (pid == children[i]) {
148 tst_res(TFAIL, "Pid %d not found", pid);
153 tst_res(TFAIL, "Pid %d exited abnormally", pid);
159 pid, WEXITSTATUS(status));