Searched refs:pidfilename (Results 1 – 1 of 1) sorted by relevance
134 static char pidfilename[MAXPATHLEN]; /* name of pid file */ variable812 if (pidfilename[0]) in detach()855 slprintf(pidfilename, sizeof(pidfilename), "%s%s.pid",857 if ((pidfile = fopen(pidfilename, "w")) != NULL) {861 error("Failed to create pid file %s: %m", pidfilename);862 pidfilename[0] = 0;897 if (pidfilename[0] != 0 && unlink(pidfilename) < 0 && errno != ENOENT) in remove_pidfiles()898 warn("unable to delete pid file %s: %m", pidfilename); in remove_pidfiles()899 pidfilename[0] = 0; in remove_pidfiles()