Home
last modified time | relevance | path

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

/external/ppp/pppd/
Dmain.c138 static char linkpidfile[MAXPATHLEN]; /* name of linkname pid file */ variable
817 if (linkpidfile[0]) in detach()
880 slprintf(linkpidfile, sizeof(linkpidfile), "%sppp-%s.pid",
882 if ((pidfile = fopen(linkpidfile, "w")) != NULL) {
888 error("Failed to create pid file %s: %m", linkpidfile);
889 linkpidfile[0] = 0;
903 if (linkpidfile[0] != 0 && unlink(linkpidfile) < 0 && errno != ENOENT) in remove_pidfiles()
904 warn("unable to delete pid file %s: %m", linkpidfile); in remove_pidfiles()
905 linkpidfile[0] = 0; in remove_pidfiles()