Searched refs:PidFileName (Results 1 – 1 of 1) sorted by relevance
125 static char *PidFileName = PIDFILE; variable329 PidFileName = OLD_PIDFILE; in main()2709 if ((pidfd = open(PidFileName, O_RDWR|O_CREAT|O_TRUNC, 0644)) in open_door()2713 "open() of %s failed", PidFileName); in open_door()2727 "write to %s on fd %d failed", PidFileName, pidfd); in open_door()2738 mythreadno, PidFileName); in open_door()2740 if (strcmp(PidFileName, PIDFILE) == 0) { in open_door()4458 if (lstat(PidFileName, &sb) == 0 && !S_ISDIR(sb.st_mode)) { in delete_doorfiles()4459 if (unlink(PidFileName) < 0) { in delete_doorfiles()4462 "unlink() of %s failed - fatal", PidFileName); in delete_doorfiles()[all …]