Lines Matching refs:pid
178 caphead.pid = 0;
393 pid_t pid;
401 pid = fork();
402 if (pid == -1) {
406 if (pid != 0) {
716 pid_t pid;
754 (*report)("couldn't open pid file '%s': %s", filename, strbuf);
762 (*report)("could not fdopen() pid file '%s': %s",
769 pid = mainpid;
771 pid = getpid();
773 if (fprintf(lockfile, "%ld\n", (long)pid) < 0) {
774 (*report)("fprintf() to pid file '%s' failed", filename);
780 (*report)("fflush() to pid file '%s' failed", filename);
818 pid_t pid;
835 pid = mainpid;
837 pid = getpid();
842 "pid: %ld", (long)pid);