umad_init(3)

umad_init3

Perform library initialization and finalization

Usage

#include <infiniband/umad.h>
int umad_init(void);
int umad_done(void);

Overview

umad_init() and umad_done() do nothing.

Return value

Always 0.

Compatibility

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.

Releases

9 releases since Debian 6.0 (Squeeze); the text changed 6 times.

  1. 6.0–8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13
  7. Arch

Authors

Dotan Barak ⟨[email protected]⟩\c , Hal Rosenstock ⟨[email protected]⟩\c

From rdma-core 65.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.