UMAD_INIT(3)
๐ UMAD_INIT(3) โ bestie, itโs giving OpenIB Programmerโs Manual ๐
okay so welcome to the UMAD_INIT(3) page from the OpenIB Programmerโs Manual. this one is short, iconic, and honestly a little chaotic in its simplicity. letโs get into it. ๐ซถ
๐ธ NAME ๐ธ
umad_init, umad_done โ perform library initialization and finalization
โจ SYNOPSIS โจ
#include <infiniband/umad.h>
int umad_init(void);
int umad_done(void);
๐ฆ DESCRIPTION ๐ฆ
umad_init() and umad_done() do nothing. thatโs the whole thing. no secret side quest, no hidden behavior โ they literally do nothing. ๐โจ
โญ RETURN VALUE โญ
Always 0. every time. slay. ๐
๐ COMPATIBILITY ๐
okay so context, bestie: 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. ๐จ this is the โdo not keep poking the library after it says noโ rule, iykyk.
๐ AUTHORS ๐
Dotan Barak <dotanb@mellanox.co.il>Hal Rosenstock <halr@voltaire.com>
signed, sealed, and serving source/version energy: OpenIB โ May 21, 2007 ๐๐ซถ๐
๐ฆ where this page comes from
- alpine 3.24: rdma-core-doc 61.0-r0 ยท GPL-2.0-only OR BSD-2-Clause
- centos-stream 10: rdma-core-devel 62.0-3.el10 ยท GPLv2 or BSD
- centos-stream 9: rdma-core-devel 61.0-3.el9 ยท GPLv2 or BSD
- centos-stream 9: rdma-core-devel 61.0-3.el9 ยท GPLv2 or BSD
- ubuntu jammy: libibumad-dev 39.0-1 ยท BSD-MIT OR GPL-2.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms