Lines Matching defs:pidfile
32 {"pidfile", 1, 0, 'p'},
103 char *logfile, *pidfile;
121 pidfile = PATH_RADVD_PID;
152 pidfile = optarg;
276 if ((fd = open(pidfile, O_RDONLY, 0)) > 0)
291 fd = open(pidfile, O_CREAT|O_TRUNC|O_WRONLY, 0644);
293 else /* FIXME: not atomic if pidfile is on an NFS mounted volume */
294 fd = open(pidfile, O_CREAT|O_EXCL|O_WRONLY, 0644);
400 unlink(pidfile);
745 fprintf(stderr, " default pidfile \"%s\"\n", PATH_RADVD_PID);