Lines Matching defs:pid
173 caphead.pid = 0;
294 * directory of the pid file when we create it.
394 pid_t pid;
402 pid = fork();
403 if (pid == -1) {
407 if (pid != 0) {
878 pid_t pid;
907 pid = mainpid;
909 pid = getpid();
911 if (fprintf(fh, "%ld\n", (long)pid) < 0) {
912 (*report)("fprintf() to pid file '%s' failed", filename);
918 (*report)("fflush() to pid file '%s' failed", filename);
1012 pid_t pid;
1029 pid = mainpid;
1031 pid = getpid();
1036 "pid: %ld", (long)pid);