table of contents
other versions
- stretch 232-25+deb9u11
- testing 241-5
- stretch-backports 241-3~bpo9+1
- unstable 241-5
- experimental 242-2
SD_BUS_GET_FD(3) | sd_bus_get_fd | SD_BUS_GET_FD(3) |
NAME¶
sd_bus_get_fd - Get the file descriptor connected to the message busSYNOPSIS¶
#include <systemd/sd-bus.h>
int sd_bus_get_fd(sd_bus *bus);
DESCRIPTION¶
sd_bus_get_fd() returns the file descriptor used to communicate with the message bus. This descriptor can be used with select(3), poll(3), or similar functions to wait for incoming messages.If the bus was created with the sd_bus_set_fd(3) function, then the input_fd used in that call is returned.
RETURN VALUE¶
Returns the file descriptor used for incoming messages from the message bus.SEE ALSO¶
systemd(1), sd-bus(3), sd_bus_set_fd(3),systemd 232 |