Lines Matching defs:pid
19 * pid_t waitpid(pid_t pid, int *status, int options);
24 int sys_waitid(int which, pid_t pid, siginfo_t *infop, int options, struct rusage *rusage)
26 return my_syscall5(__NR_waitid, which, pid, infop, options, rusage);
30 int waitid(int which, pid_t pid, siginfo_t *infop, int options)
32 return __sysret(sys_waitid(which, pid, infop, options, NULL));
37 pid_t waitpid(pid_t pid, int *status, int options)
43 if (pid == INT_MIN) {
46 } else if (pid < -1) {
48 id = -pid;
49 } else if (pid == -1) {
52 } else if (pid == 0) {
57 id = pid;