HomeSort by relevance Sort by last modified time
    Searched defs:pidfile (Results 1 - 16 of 16) sorted by null

  /external/strace/tests/
attach-p-cmd.h 2 static const char pidfile[] = "attach-p-cmd.test-pid"; variable
  /external/strace/tests-m32/
attach-p-cmd.h 2 static const char pidfile[] = "attach-p-cmd.test-pid"; variable
  /external/strace/tests-mx32/
attach-p-cmd.h 2 static const char pidfile[] = "attach-p-cmd.test-pid"; variable
  /external/selinux/restorecond/
restorecond.c 87 static const char *pidfile = "/var/run/restorecond.pid"; variable
97 pidfile = 0;
100 pidfd = open(pidfile, O_CREAT | O_TRUNC | O_NOFOLLOW | O_WRONLY, 0644);
102 syslog(LOG_ERR, "Unable to set pidfile (%s)", strerror(errno));
103 pidfile = 0;
107 syslog(LOG_ERR, "Unable to write to pidfile (%s)", strerror(errno));
223 if (pidfile)
224 unlink(pidfile);
  /external/lz4/tests/
test-lz4-speed.py 308 pidfile = "./speedTest.pid" variable
309 if os.path.isfile(pidfile):
310 log("ERROR: %s already exists, exiting" % pidfile)
314 with open(pidfile, 'w') as the_file:
349 os.unlink(pidfile)
  /external/curl/tests/server/
util.c 262 FILE *pidfile; local
266 pidfile = fopen(filename, "wb");
267 if(!pidfile) {
271 fprintf(pidfile, "%ld\n", pid);
272 fclose(pidfile);
  /external/ltp/tools/pounder21/
run.c 48 static char *pidfile = ""; variable
79 unlink(pidfile);
119 pidfile = getenv("POUNDER_PIDFILE");
120 if (pidfile == NULL) {
121 pidfile = "pounder.pid";
124 fp = fopen(pidfile, "w");
126 perror(pidfile);
208 unlink(pidfile);
  /external/syslinux/gpxe/src/util/
hijack.c 534 char pidfile[16 + IF_NAMESIZE + 4]; /* "/var/run/hijack-<intf>.pid" */ local
548 snprintf ( pidfile, sizeof ( pidfile ), "/var/run/hijack-%s.pid",
550 fd = open ( pidfile, ( O_WRONLY | O_CREAT | O_TRUNC ),
554 pidfile, strerror ( errno ) );
562 pidfile, strerror ( errno ) );
  /external/dhcpcd-6.8.2/
dhcpcd.h 87 char pidfile[sizeof(PIDFILE) + IF_NAMESIZE + 1]; member in struct:dhcpcd_ctx
  /external/dnsmasq/src/
dnsmasq.c 348 /* write pidfile _after_ forking ! */
351 FILE *pidfile; local
354 if ((pidfile = fopen(daemon->runfile, "w")))
356 fprintf(pidfile, "%d\n", (int) getpid());
357 fclose(pidfile);
691 die(_("failed to open pidfile %s: %s"), daemon->runfile, EC_FILE);
  /external/toybox/lib/
xwrap.c 711 char pidfile[256], spid[32]; local
715 sprintf(pidfile, "/var/run/%s.pid", name);
718 fd = open(pidfile, O_CREAT|O_EXCL|O_WRONLY, 0644);
722 fd = open(pidfile, O_RDONLY);
729 if (pid < 1 || (kill(pid, 0) && errno == ESRCH)) unlink(pidfile);
  /external/toybox/toys/pending/
dhcp6.c 12 usage: dhcp6 [-fbnqvR] [-i IFACE] [-r IP] [-s PROG] [-p PIDFILE]
17 -p Create pidfile
46 char *interface_name, *pidfile, *script;
410 int pidfile = open(path, O_CREAT | O_WRONLY | O_TRUNC, 0666); local
412 if (pidfile > 0) {
416 write(pidfile, pidbuf, strlen(pidbuf));
417 close(pidfile);
483 if (toys.optflags & FLAG_p) write_pid(TT.pidfile);
551 if (toys.optflags & FLAG_p) write_pid(TT.pidfile);
561 dbg("pid file: %s\n", TT.pidfile);
    [all...]
dhcp.c 13 usage: dhcp [-fbnqvoCRB] [-i IFACE] [-r IP] [-s PROG] [-p PIDFILE]
19 -p Create pidfile
61 char *pidfile;
349 int pidfile = open(path, O_CREAT | O_WRONLY | O_TRUNC, 0666); local
350 if (pidfile > 0) {
354 write(pidfile, pidbuf, strlen(pidbuf));
355 close(pidfile);
    [all...]
dhcpd.c 260 char *pidfile; member in struct:server_config_s
464 int pidfile = open(path, O_CREAT | O_WRONLY | O_TRUNC, 0666); local
465 if (pidfile > 0) {
469 write(pidfile, pidbuf, strlen(pidbuf));
470 close(pidfile);
703 {"pidfile" , strinvar , (void*)&gconfig.pidfile , "/var/run/dhcpd.pid"}, //DPID_FILE
    [all...]
  /external/ppp/pppd/
main.c 853 FILE *pidfile; local
857 if ((pidfile = fopen(pidfilename, "w")) != NULL) {
858 fprintf(pidfile, "%d\n", pid);
859 (void) fclose(pidfile);
872 FILE *pidfile; local
879 if ((pidfile = fopen(linkpidfile, "w")) != NULL) {
880 fprintf(pidfile, "%d\n", pid);
882 fprintf(pidfile, "%s\n", ifname);
883 (void) fclose(pidfile);
    [all...]
  /external/toybox/generated/
globals.h 526 char *pidfile; member in struct:dhcp_data
542 char *interface_name, *pidfile, *script; member in struct:dhcp6_data

Completed in 440 milliseconds