umad_init(3) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | COMPATIBILITY | AUTHORS | COLOPHON

UMAD_INIT(3)            OpenIB Programmer’s Manual           UMAD_INIT(3)

NAME         top

       umad_init, umad_done - perform library initialization and
       finalization

SYNOPSIS         top

              #include <infiniband/umad.h>

              int umad_init(void);

              int umad_done(void);

DESCRIPTION         top

       umad_init() and umad_done() do nothing.

RETURN VALUE         top

       Always 0.

COMPATIBILITY         top

       Versions prior to release 18 of the library require umad_init() to
       be called prior to using any other library functions.  Old
       versions could return a failure code of -1 from umad_init().

       For compatibility, applications should continue to call
       umad_init(), and check the return code, prior to calling other
       umad_ functions.  If umad_init() returns an error, then no further
       use of the umad library should be attempted.

AUTHORS         top

       Dotan Barak ⟨dotanb@mellanox.co.il⟩, Hal Rosenstock
       ⟨halr@voltaire.com⟩

COLOPHON         top

       This page is part of the rdma-core (RDMA Core Userspace Libraries
       and Daemons) project.  Information about the project can be found
       at ⟨https://github.com/linux-rdma/rdma-core⟩.  If you have a bug
       report for this manual page, send it to
       linux-rdma@vger.kernel.org.  This page was obtained from the
       project's upstream Git repository
       ⟨https://github.com/linux-rdma/rdma-core.git⟩ on 2025-08-11.  (At
       that time, the date of the most recent commit that was found in
       the repository was 2025-08-04.)  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
       man-pages@man7.org

OpenIB                         May 21, 2007                  UMAD_INIT(3)