SD_BUS_GET_FD(3)                sd_bus_get_fd               SD_BUS_GET_FD(3)

NAME         top

       sd_bus_get_fd - Get the file descriptor connected to the message bus

SYNOPSIS         top

       #include <systemd/sd-bus.h>

       int sd_bus_get_fd(sd_bus *bus);

DESCRIPTION         top

       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         top

       Returns the file descriptor used for incoming messages from the
       message bus.

SEE ALSO         top

       systemd(1), sd-bus(3), sd_bus_set_fd(3),

COLOPHON         top

       This page is part of the systemd (systemd system and service manager)
       project.  Information about the project can be found at 
       ⟨⟩.  If you have a bug
       report for this manual page, see
       ⟨⟩.  This
       page was obtained from the project's upstream Git repository
       ⟨⟩ on 2019-05-09.  (At that
       time, the date of the most recent commit that was found in the repos‐
       itory was 2019-05-09.)  If you discover any rendering problems in
       this HTML version of the page, or you believe there is a better or
       more up-to-date source for the page, or you have corrections or
       improvements to the information in this COLOPHON (which is not part
       of the original manual page), send a mail to

systemd 234                                                 SD_BUS_GET_FD(3)

Pages that refer to this page: sd_bus_process(3)systemd.index(7)