Home
last modified time | relevance | path

Searched refs:pidfd (Results 1 – 3 of 3) sorted by relevance

/external/dhcpcd/
Dbind.c109 writepid(pidfd, pid); in daemonise()
110 close(pidfd); in daemonise()
111 pidfd = -1; in daemonise()
Ddhcpcd.h145 extern int pidfd;
Ddhcpcd.c91 int pidfd = -1; variable
203 if (pidfd > -1) { in cleanup()
208 close(pidfd); in cleanup()
2041 pidfd = open(pidfile, O_WRONLY | O_CREAT | O_NONBLOCK, 0664); in main()
2042 if (pidfd == -1) in main()
2047 if (flock(pidfd, LOCK_EX | LOCK_NB) == -1) { in main()
2051 if (set_cloexec(pidfd) == -1) in main()
2073 writepid(pidfd, getpid()); in main()