Lines Matching refs:pidfile
56 static char *pidfile = NULL;
664 if (pidfile != NULL) {
665 n = unlink(pidfile);
667 ns_main_earlywarning("unlink '%s': failed", pidfile);
668 free(pidfile);
670 pidfile = NULL;
732 pidfile = malloc(len + 1);
733 if (pidfile == NULL) {
740 strcpy(pidfile, filename);
745 if (mkdirpath(pidfile, report) == -1) {
746 free(pidfile);
747 pidfile = NULL;
755 free(pidfile);
756 pidfile = NULL;