Home
last modified time | relevance | path

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

/external/dbus/bus/
Dmain.c134 check_two_pid_descriptors (const DBusString *pid_fd, in check_two_pid_descriptors() argument
137 if (_dbus_string_get_length (pid_fd) > 0) in check_two_pid_descriptors()
140 extra_arg, _dbus_string_get_const_data (pid_fd)); in check_two_pid_descriptors()
228 DBusString pid_fd; in main() local
243 if (!_dbus_string_init (&pid_fd)) in main()
334 check_two_pid_descriptors (&pid_fd, "print-pid"); in main()
339 if (!_dbus_string_append (&pid_fd, desc)) in main()
347 check_two_pid_descriptors (&pid_fd, "print-pid"); in main()
349 if (!_dbus_string_append (&pid_fd, arg)) in main()
396 if (_dbus_string_get_length (&pid_fd) > 0) in main()
[all …]
/external/dhcpcd/
Ddhcpcd.c633 int pid_fd = -1; in main() local
979 pid_fd = open(options->pidfile, in main()
981 if (pid_fd == -1) { in main()
989 if (flock(pid_fd, LOCK_EX | LOCK_NB) == -1) { in main()
995 if (set_cloexec(pid_fd) == -1) in main()
1008 writepid(pid_fd, getpid()); in main()
1019 if (dhcp_run(options, &pid_fd) == 0) in main()
1024 if (pid_fd > -1) { in main()
1025 close(pid_fd); in main()
Dclient.c143 int *pid_fd; member
236 writepid(*state->pid_fd, pid); in daemonise()
237 close(*state->pid_fd); in daemonise()
238 *state->pid_fd = -1; in daemonise()
1751 dhcp_run(const struct options *options, int *pid_fd) in dhcp_run() argument
1765 state->pid_fd = pid_fd; in dhcp_run()