Searched refs:pidfilename (Results 1 - 13 of 13) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/minidlna/
H A Dupnpglobalvars.c29 const char * pidfilename = "/var/run/minidlna.pid"; variable
H A Dupnpglobalvars.h94 extern const char * pidfilename;
H A Dminidlna.c474 pidfilename = argv[++i];
600 argv[0], pidfilename);
629 if(checkforrunning(pidfilename) < 0)
675 writepidfile(pidfilename, pid);
1063 if(unlink(pidfilename) < 0)
1065 DPRINTF(E_ERROR, L_GENERAL, "Failed to remove pidfile %s: %s\n", pidfilename, strerror(errno));
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/minidlna.03.14/
H A Dupnpglobalvars.c66 const char * pidfilename = "/var/run/minidlna.pid"; variable
H A Dupnpglobalvars.h238 extern const char * pidfilename;
H A Dminidlna.c649 pidfilename = argv[++i];
783 argv[0], pidfilename);
814 if(checkforrunning(pidfilename) < 0)
844 writepidfile(pidfilename, pid);
1302 if(unlink(pidfilename) < 0)
1304 DPRINTF(E_ERROR, L_GENERAL, "Failed to remove pidfile %s: %s\n", pidfilename, strerror(errno));
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/minidlna.07.26/
H A Dupnpglobalvars.c29 const char * pidfilename = "/var/run/minidlna.pid"; variable
H A Dupnpglobalvars.h93 extern const char * pidfilename;
H A Dminidlna.c503 pidfilename = argv[++i];
629 argv[0], pidfilename);
658 if(checkforrunning(pidfilename) < 0)
700 writepidfile(pidfilename, pid);
1147 if(unlink(pidfilename) < 0)
1149 DPRINTF(E_ERROR, L_GENERAL, "Failed to remove pidfile %s: %s\n", pidfilename, strerror(errno));
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ppp/pppd/plugins/pppoe/
H A Dutils.c44 static char pidfilename[PATH_MAX]; /* name of pid file */ variable
585 sprintf (pidfilename, "%s%s.pid", _PATH_VARRUN, "pppoed");
586 if ((pidfile = fopen (pidfilename, "w")) != NULL) {
591 poe_error (ses,"Failed to create pid file %s: %m", pidfilename);
592 pidfilename[0] = 0;
611 if (pidfilename[0])
622 if (pidfilename[0] != 0 && unlink (pidfilename) < 0 && errno != ENOENT)
624 pidfilename[0] = 0;
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ppp/pppoecd/
H A Dmain.c76 static char pidfilename[MAXPATHLEN]; /* name of pid file */ variable
491 if (pidfilename[0] != 0
492 && unlink(pidfilename) < 0 && errno != ENOENT)
493 warn("unable to delete pid file %s: %m", pidfilename);
494 pidfilename[0] = 0;
520 if (pidfilename[0] != 0
521 && unlink(pidfilename) < 0 && errno != ENOENT)
522 warn("unable to delete pid file %s: %m", pidfilename);
523 pidfilename[0] = 0;
736 if (pidfilename[
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ppp/pppd/
H A Dmain.c80 static char pidfilename[MAXPATHLEN]; /* name of pid file */ variable
564 if (pidfilename[0] != 0
565 && unlink(pidfilename) < 0 && errno != ENOENT)
566 warn("unable to delete pid file %s: %m", pidfilename);
567 pidfilename[0] = 0;
593 if (pidfilename[0] != 0
594 && unlink(pidfilename) < 0 && errno != ENOENT)
595 warn("unable to delete pid file %s: %m", pidfilename);
596 pidfilename[0] = 0;
834 if (pidfilename[
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ppp-2.4.4/pppd/
H A Dmain.c134 static char pidfilename[MAXPATHLEN]; /* name of pid file */ variable
851 if (pidfilename[0])
895 slprintf(pidfilename, sizeof(pidfilename), "%s%s.pid",
897 if ((pidfile = fopen(pidfilename, "w")) != NULL) {
901 error("Failed to create pid file %s: %m", pidfilename);
902 pidfilename[0] = 0;
933 if (pidfilename[0] != 0 && unlink(pidfilename) < 0 && errno != ENOENT)
934 warn("unable to delete pid file %s: %m", pidfilename);
[all...]

Completed in 134 milliseconds