1UMAD_INIT(3) OpenIB Programmer's Manual UMAD_INIT(3)
2
3
4
6 umad_init, umad_done - perform library initialization and finalization
7
9 #include <infiniband/umad.h>
10
11 int umad_init(void);
12
13 int umad_done(void);
14
16 umad_init() and umad_done() do nothing.
17
19 Always 0.
20
22 Versions prior to release 18 of the library require umad_init() to be
23 called prior to using any other library functions. Old versions could
24 return a failure code of -1 from umad_init().
25
26 For compatibility, applications should continue to call umad_init(),
27 and check the return code, prior to calling other umad_ functions. If
28 umad_init() returns an error, then no further use of the umad library
29 should be attempted.
30
32 Dotan Barak <dotanb@mellanox.co.il>, Hal Rosenstock <halr@voltaire.com>
33
34
35
36OpenIB May 21, 2007 UMAD_INIT(3)