Home | History | Annotate | Download | only in dhcpcd

Lines Matching refs:PIDFILE

106 static char *pidfile;
145 if ((fp = fopen(pidfile, "r")) == NULL) {
209 unlink(pidfile);
212 free(pidfile);
1893 len = strlen(PIDFILE) + IF_NAMESIZE + 2;
1894 pidfile = xmalloc(len);
1896 snprintf(pidfile, len, PIDFILE, "-", argv[optind]);
1898 snprintf(pidfile, len, PIDFILE, "", "");
1999 unlink(pidfile);
2030 pid, pidfile);
2041 pidfd = open(pidfile, O_WRONLY | O_CREAT | O_NONBLOCK, 0664);
2043 syslog(LOG_ERR, "open `%s': %m", pidfile);
2048 syslog(LOG_ERR, "flock `%s': %m", pidfile);