Lines Matching refs:pid
108 int pid, scheduler, child_scheduler, priority, status, pfd[2];
144 RZ(posix_spawn(&pid, helper, NULL, &attr, args, NULL));
145 ATF_REQUIRE_MSG(pid > 0, "pid=%lld", (long long)pid);
147 RL(child_scheduler = sched_getscheduler(pid));
149 "scheduler = %d, child_scheduler = %d, pid %d, errno %d",
150 scheduler, child_scheduler, pid, errno);
152 RL(sched_getparam(pid, &child_sp));
157 ATF_REQUIRE_MSG(pid == getpgid(pid), "child pid: %d, child pgid: %d",
158 pid, getpgid(pid));
166 RL(waitpid(pid, &status, 0));
188 pid_t pid;
196 RZ(posix_spawn(&pid, buf, NULL, &attr, args, NULL));
197 ATF_REQUIRE_MSG(pid > 0, "pid=%lld", (long long)pid);
198 RL(waitpid(pid, &status, 0));