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

/external/dhcpcd/
H A Ddhcpcd.h115 extern int pidfd;
H A Dbind.c109 writepid(pidfd, pid);
110 close(pidfd);
111 pidfd = -1;
H A Ddhcpcd.c89 int pidfd = -1; variable
192 if (pidfd > -1) {
197 close(pidfd);
1984 pidfd = open(pidfile, O_WRONLY | O_CREAT | O_NONBLOCK, 0664);
1985 if (pidfd == -1) {
1991 if (flock(pidfd, LOCK_EX | LOCK_NB) == -1) {
1995 if (set_cloexec(pidfd) == -1)
2011 writepid(pidfd, getpid());

Completed in 191 milliseconds