Searched refs:pid_fd (Results 1 – 3 of 3) sorted by relevance
/external/dbus/bus/ |
D | main.c | 205 check_two_pid_descriptors (const DBusString *pid_fd, in check_two_pid_descriptors() argument 208 if (_dbus_string_get_length (pid_fd) > 0) in check_two_pid_descriptors() 211 extra_arg, _dbus_string_get_const_data (pid_fd)); in check_two_pid_descriptors() 351 DBusString pid_fd; in main() local 369 if (!_dbus_string_init (&pid_fd)) in main() 509 check_two_pid_descriptors (&pid_fd, "print-pid"); in main() 514 if (!_dbus_string_append (&pid_fd, desc)) in main() 522 check_two_pid_descriptors (&pid_fd, "print-pid"); in main() 524 if (!_dbus_string_append (&pid_fd, arg)) in main() 575 if (_dbus_string_get_length (&pid_fd) > 0) in main() [all …]
|
/external/dhcpcd-6.8.2/ |
D | dhcpcd.c | 310 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 …]
|
D | dhcpcd.h | 86 int pid_fd; member
|