Searched defs:pidfd (Results 1 - 1 of 1) sorted by relevance

/external/dhcpcd/
H A Ddhcpcd.c91 int pidfd = -1; variable
203 if (pidfd > -1) {
208 close(pidfd);
2041 pidfd = open(pidfile, O_WRONLY | O_CREAT | O_NONBLOCK, 0664);
2042 if (pidfd == -1)
2047 if (flock(pidfd, LOCK_EX | LOCK_NB) == -1) {
2051 if (set_cloexec(pidfd) == -1)
2073 writepid(pidfd, getpid());

Completed in 77 milliseconds