Lines Matching refs:opt_p
141 static char *opt_p = NINFOD_PIDFILE; /* pidfile */ variable
432 if (daemonized && opt_p) { in cleanup_pidfile()
433 err = unlink(opt_p); in cleanup_pidfile()
435 opt_p, strerror(errno)); in cleanup_pidfile()
461 if (opt_p) { in do_daemonize()
462 if (!access(opt_p, R_OK)) { in do_daemonize()
463 if ((fp = fopen(opt_p, "r"))) { in do_daemonize()
466 opt_p); in do_daemonize()
469 opt_p, pid); in do_daemonize()
476 fp = fopen_excl(opt_p); in do_daemonize()
479 opt_p, strerror(errno)); in do_daemonize()
486 unlink(opt_p); in do_daemonize()
616 opt_p = optarg; in parse_args()