Lines Matching defs:pid
42 * Each buffer contains the PID of the process that created it and it's tested
43 * against the current PID each time. Thus processes that fork will discard all
46 * 1) glibc maintains a cache of the current PID+PPID and, if this cache isn't
52 * the third process will end up with the same PID as the original process.
67 pid_t pid; /* pid contains the pid at the time that the buffer was
69 pid_t ppid; /* ppid contains the parent pid in order to try and reduce
70 the possibility of duplicated PID confusing the
146 pid_t pid, ppid;
171 pid = getpid();
176 if (buf && buf->pid == pid && buf->ppid == ppid &&
185 * PID, remove the buffer from the list in order to gain
203 buf->pid = pid;
207 if (buf->pid == pid && buf->ppid == ppid) {