NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO | COLOPHON

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 
       ⟨http://www.freedesktop.org/wiki/Software/systemd⟩.  If you have a bug
       report for this manual page, see 
       ⟨http://www.freedesktop.org/wiki/Software/systemd/#bugreports⟩.  This
       page was obtained from the project's upstream Git repository 
       ⟨https://github.com/systemd/systemd.git⟩ on 2017-07-05.  If you dis‐
       cover 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 man-pages@man7.org
systemd 234                                                 SD_BUS_GET_FD(3)

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