Lines Matching defs:pidfile
17 -p Create pidfile
46 char *interface_name, *pidfile, *script;
407 int pidfile = open(path, O_CREAT | O_WRONLY | O_TRUNC, 0666);
409 if (pidfile > 0) {
413 write(pidfile, pidbuf, strlen(pidbuf));
414 close(pidfile);
480 if (toys.optflags & FLAG_p) write_pid(TT.pidfile);
548 if (toys.optflags & FLAG_p) write_pid(TT.pidfile);
558 dbg("pid file: %s\n", TT.pidfile);
668 if (toys.optflags & FLAG_p) write_pid(TT.pidfile);