Lines Matching defs:pid
696 pid_t pid;
698 pid = getpid();
699 if (ioctl(pbm->filemon_fd, FILEMON_SET_PID, &pid) < 0) {
700 err(1, "Could not set filemon pid!");
981 int pid;
1043 * <key> <pid> <data>
1047 * <pid> is the process that made the syscall.
1068 * Each time we spot a different process ('pid')
1072 * value for the current 'pid' and 'CWD' if none.
1075 pid = atoi(p);
1076 if (pid > 0 && pid != lastpid) {
1085 snprintf(lcwd_vname, sizeof(lcwd_vname), LCWD_VNAME_FMT, pid);
1086 snprintf(ldir_vname, sizeof(ldir_vname), LDIR_VNAME_FMT, pid);
1087 lastpid = pid;
1099 /* Skip past the pid. */
1106 pid, buf[0], cwd, lcwd, latestdir);