Lines Matching defs:pid_file
464 static const char *pid_file;
468 if (pid_file) {
469 dbg("creating pid file %s", pid_file);
472 fp = fopen(pid_file, "w");
474 err("pid_file: %s: %d (%s)",
475 pid_file, errno, strerror(errno));
485 if (pid_file) {
486 dbg("removing pid file %s", pid_file);
487 unlink(pid_file);
612 pid_file = NULL;
645 pid_file = optarg ? optarg : DEFAULT_PID_FILE;