Home
last modified time | relevance | path

Searched refs:linkpidfile (Results 1 – 1 of 1) sorted by relevance

/external/ppp/pppd/
Dmain.c135 static char linkpidfile[MAXPATHLEN]; /* name of linkname pid file */ variable
791 if (linkpidfile[0]) in detach()
854 slprintf(linkpidfile, sizeof(linkpidfile), "%sppp-%s.pid",
856 if ((pidfile = fopen(linkpidfile, "w")) != NULL) {
862 error("Failed to create pid file %s: %m", linkpidfile);
863 linkpidfile[0] = 0;
877 if (linkpidfile[0] != 0 && unlink(linkpidfile) < 0 && errno != ENOENT) in remove_pidfiles()
878 warn("unable to delete pid file %s: %m", linkpidfile); in remove_pidfiles()
879 linkpidfile[0] = 0; in remove_pidfiles()