/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/udhcpd/ |
H A D | pidfile.h | 0 /* pidfile.h
23 int pidfile_acquire(char *pidfile);
25 void pidfile_delete(char *pidfile);
|
H A D | pidfile.c | 0 /* pidfile.c
32 int pidfile_acquire(char *pidfile)
argument 35 if (pidfile == NULL) return -1;
37 pid_fd = open(pidfile, O_CREAT | O_WRONLY, 0644);
39 LOG(LOG_ERR, "Unable to open pidfile %s: %s\n",
40 pidfile, strerror(errno));
64 void pidfile_delete(char *pidfile)
argument 66 if (pidfile) unlink(pidfile);
|
H A D | dhcpc.h | 23 char *pidfile; /* Optionally store the process ID */
member in struct:client_config_t
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/distrib/initscripts/ |
H A D | rc.afpd.netbsd.tmpl | 19 pidfile="/var/run/${name}.pid" 20 command_args="-P ${pidfile}"
|
H A D | rc.papd.netbsd.tmpl | 17 pidfile="/var/run/${name}.pid"
|
H A D | rc.timelord.netbsd.tmpl | 17 pidfile="/var/run/${name}.pid"
|
H A D | rc.atalkd.netbsd.tmpl | 17 pidfile="/var/run/${name}.pid"
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/minidlna/ |
H A D | daemonize.c | 69 int pidfile; local 74 if( (pidfile = open(fname, O_WRONLY|O_CREAT|O_EXCL, 0666)) < 0) 76 DPRINTF(E_ERROR, L_GENERAL, "Unable to open pidfile for writing %s: %s\n", fname, strerror(errno)); 84 "Unable to write to pidfile %s: snprintf(): FAILED\n", fname); 85 close(pidfile); 90 if(write(pidfile, pidstring, pidstringlen) < 0) 91 DPRINTF(E_ERROR, L_GENERAL, "Unable to write to pidfile %s: %s\n", fname, strerror(errno)); 94 close(pidfile); 103 int pidfile; local 109 if( (pidfile [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/minidlna.03.14/ |
H A D | daemonize.c | 96 int pidfile; local 101 if( (pidfile = open(fname, O_WRONLY|O_CREAT, 0644)) < 0) 103 DPRINTF(E_ERROR, L_GENERAL, "Unable to open pidfile for writing %s: %s\n", fname, strerror(errno)); 111 "Unable to write to pidfile %s: snprintf(): FAILED\n", fname); 112 close(pidfile); 117 if(write(pidfile, pidstring, pidstringlen) < 0) 118 DPRINTF(E_ERROR, L_GENERAL, "Unable to write to pidfile %s: %s\n", fname, strerror(errno)); 121 close(pidfile); 130 int pidfile; local 136 if( (pidfile [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/minidlna.07.26/ |
H A D | daemonize.c | 69 int pidfile; local 74 if( (pidfile = open(fname, O_WRONLY|O_CREAT|O_EXCL, 0666)) < 0) 76 DPRINTF(E_ERROR, L_GENERAL, "Unable to open pidfile for writing %s: %s\n", fname, strerror(errno)); 84 "Unable to write to pidfile %s: snprintf(): FAILED\n", fname); 85 close(pidfile); 90 if(write(pidfile, pidstring, pidstringlen) < 0) 91 DPRINTF(E_ERROR, L_GENERAL, "Unable to write to pidfile %s: %s\n", fname, strerror(errno)); 94 close(pidfile); 103 int pidfile; local 109 if( (pidfile [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/tests/ |
H A D | ftp.pm | 33 # pidfromfile returns the pid stored in the given pidfile. The value 39 my $pidfile = $_[0]; 42 if(-f $pidfile && -s $pidfile && open(PIDFH, "<$pidfile")) { 52 # pidfile exists and is alive. This will return 0 on any file related 60 my $pidfile = $_[0]; 62 # fetch pid from pidfile 63 my $pid = pidfromfile($pidfile); 71 # get rid of the certainly invalid pidfile [all...] |
H A D | httpserver.pl | 41 my $pidfile; # http server pid file 52 if($ARGV[0] eq '--pidfile') { 54 $pidfile = $ARGV[1]; 106 if(!$pidfile) { 107 $pidfile = "$path/". server_pidfilename($proto, $ipvnum, $idnum); 115 $flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" ";
|
H A D | rtspserver.pl | 41 my $pidfile; # rtsp server pid file 50 if($ARGV[0] eq '--pidfile') { 52 $pidfile = $ARGV[1]; 98 if(!$pidfile) { 99 $pidfile = "$path/". server_pidfilename($proto, $ipvnum, $idnum); 105 $flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" ";
|
H A D | tftpserver.pl | 41 my $pidfile; # tftp server pid file 51 if($ARGV[0] eq '--pidfile') { 53 $pidfile = $ARGV[1]; 99 if(!$pidfile) { 100 $pidfile = "$path/". server_pidfilename($proto, $ipvnum, $idnum); 106 $flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" ";
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/distrib/initscripts/ |
H A D | rc.afpd.netbsd.tmpl | 19 pidfile="/var/run/${name}.pid"
|
H A D | rc.papd.netbsd.tmpl | 17 pidfile="/var/run/${name}.pid"
|
H A D | rc.timelord.netbsd.tmpl | 17 pidfile="/var/run/${name}.pid"
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/minidlna/linux/ |
H A D | minidlna.init.d.script | 20 start-stop-daemon --start --quiet --pidfile /var/run/minidlna.pid --startas $MINIDLNA -- $ARGS $LSBNAMES
24 start-stop-daemon --stop --quiet --pidfile /var/run/minidlna.pid
29 start-stop-daemon --stop --retry 5 --quiet --pidfile /var/run/minidlna.pid
30 start-stop-daemon --start --quiet --pidfile /var/run/minidlna.pid --startas $MINIDLNA -- $ARGS $LSBNAMES
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/minidlna.03.14/linux/ |
H A D | minidlna.init.d.script | 32 start-stop-daemon --start --quiet --pidfile $PIDFILE --startas $MINIDLNA -- $ARGS $LSBNAMES 36 start-stop-daemon --stop --quiet --pidfile $PIDFILE 41 start-stop-daemon --stop --retry 5 --quiet --pidfile $PIDFILE 42 start-stop-daemon --start --quiet --pidfile $PIDFILE --startas $MINIDLNA -- $ARGS $LSBNAMES
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/minidlna.07.26/linux/ |
H A D | minidlna.init.d.script | 20 start-stop-daemon --start --quiet --pidfile /var/run/minidlna.pid --startas $MINIDLNA -- $ARGS $LSBNAMES 24 start-stop-daemon --stop --quiet --pidfile /var/run/minidlna.pid 29 start-stop-daemon --stop --retry 5 --quiet --pidfile /var/run/minidlna.pid 30 start-stop-daemon --start --quiet --pidfile /var/run/minidlna.pid --startas $MINIDLNA -- $ARGS $LSBNAMES
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/util/ |
H A D | server_lock.c | 34 pid_t server_lock(char *program, char *pidfile, int debug) argument 43 if ((pf = fopen(pidfile, "r"))) { 53 if ((pf = fopen(pidfile, "w")) == NULL) { 55 pidfile); 103 int check_lockfile(const char *program, const char *pidfile) argument 110 if ((pf = fopen(pidfile, "r"))) { 125 int create_lockfile(const char *program, const char *pidfile) argument 132 if (check_lockfile(program, pidfile) != 0) 135 /* Write PID to pidfile */ 137 if ((pf = fopen(pidfile, " [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/util/ |
H A D | server_lock.c | 34 pid_t server_lock(char *program, char *pidfile, int debug) argument 43 if ((pf = fopen(pidfile, "r"))) { 53 if ((pf = fopen(pidfile, "w")) == NULL) { 55 pidfile);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/packaging/Debian/debian-stable/ |
H A D | samba.init | 39 start-stop-daemon --stop --quiet --pidfile $NMBDPID 51 start-stop-daemon --stop --quiet --pidfile $SMBDPID 68 start-stop-daemon --stop --signal HUP --pidfile $SMBDPID
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/packaging/Debian/debian-unstable/ |
H A D | samba.init | 39 start-stop-daemon --stop --quiet --pidfile $NMBDPID 51 start-stop-daemon --stop --quiet --pidfile $SMBDPID 68 start-stop-daemon --stop --signal HUP --pidfile $SMBDPID
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/hotplug2/examples/ |
H A D | hotplug2.initscript | 28 start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \ 30 start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \ 40 start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME
|