Home
last modified time | relevance | path

Searched refs:pid_fd (Results 1 – 2 of 2) sorted by relevance

/external/dhcpcd-6.8.2/
Ddhcpcd.c310 write_pid(ctx->pid_fd, pid); in dhcpcd_daemonise()
311 close(ctx->pid_fd); in dhcpcd_daemonise()
312 ctx->pid_fd = -1; in dhcpcd_daemonise()
1479 ctx.pid_fd = ctx.control_fd = ctx.control_unpriv_fd = ctx.link_fd = -1; in main()
1797 ctx.pid_fd = open(ctx.pidfile, opt, 0664); in main()
1798 if (ctx.pid_fd == -1) in main()
1804 if (flock(ctx.pid_fd, LOCK_EX | LOCK_NB) == -1) { in main()
1806 close(ctx.pid_fd); in main()
1807 ctx.pid_fd = -1; in main()
1812 if (fcntl(ctx.pid_fd, F_GETFD, &opt) == -1 || in main()
[all …]
Ddhcpcd.h86 int pid_fd; member