Lines Matching defs:pidfile
67 static char pidfile[MAXPATHLEN];
75 (void) unlink(pidfile);
89 if (pidfile[0] == '\0') {
93 snprintf(pidfile, sizeof pidfile,
97 fd = open(pidfile, O_WRONLY|O_CREAT|O_EXCL, 0644);
99 perror(pidfile);
111 perror(pidfile);
123 " %s [-dr] [-b maxbytes] [-p maxpkts] [-P pidfile] portnum dumpfile\n"
134 " '-P pidfile' = alternate file to store the PID\n"
186 strcpy(pidfile, optarg);