Lines Matching defs:pid
30 * Use event ports to poll on the set of fds representing the /proc/[pid]/psinfo
180 * wait_register is called after we have called fork(2), and know which pid we
188 * Returns 0 if registration successful, 1 if child pid did not exist, and -1
192 wait_register(pid_t pid, const char *inst_fmri, int am_parent, int direct)
194 char *fname = uu_msprintf("/proc/%ld/psinfo", pid);
198 assert(pid != 0);
208 wi->wi_pid = pid;
245 log_framework(LOG_DEBUG, "monitoring PID %ld on fd %d (%s)\n", pid, fd,
327 wait_postfork(pid_t pid)
333 if (pid != 0)