Home
last modified time | relevance | path

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

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