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
814 if (linkpidfile[0]) in detach()
877 slprintf(linkpidfile, sizeof(linkpidfile), "%sppp-%s.pid",
879 if ((pidfile = fopen(linkpidfile, "w")) != NULL) {
885 error("Failed to create pid file %s: %m", linkpidfile);
886 linkpidfile[0] = 0;
900 if (linkpidfile[0] != 0 && unlink(linkpidfile) < 0 && errno != ENOENT) in remove_pidfiles()
901 warn("unable to delete pid file %s: %m", linkpidfile); in remove_pidfiles()
902 linkpidfile[0] = 0; in remove_pidfiles()