Searched refs:pidfilename (Results 1 – 1 of 1) sorted by relevance
137 static char pidfilename[MAXPATHLEN]; /* name of pid file */ variable815 if (pidfilename[0]) in detach()858 slprintf(pidfilename, sizeof(pidfilename), "%s%s.pid",860 if ((pidfile = fopen(pidfilename, "w")) != NULL) {864 error("Failed to create pid file %s: %m", pidfilename);865 pidfilename[0] = 0;900 if (pidfilename[0] != 0 && unlink(pidfilename) < 0 && errno != ENOENT) in remove_pidfiles()901 warn("unable to delete pid file %s: %m", pidfilename); in remove_pidfiles()902 pidfilename[0] = 0; in remove_pidfiles()