3 .TH UMAD_INIT 3 "May 21, 2007" "OpenIB" "OpenIB Programmer\'s Manual"
5 umad_init, umad_done \- perform library initialization and finalization
8 .B #include <infiniband/umad.h>
10 .BI "int umad_init(void);
12 .BI "int umad_done(void);
16 initializes the umad library for use. Must be called before any
17 other call to this library.
20 finalizes the use of the umad library.
25 return 0 on success, and \-1 on error.
26 Error is returned from
29 can\'t be opened, or the abi version doesn\'t match.
30 There are no errors currently returned by
33 If an error occurs during the library initialization, no further use of the
34 umad library should be attempted.
37 Hal Rosenstock <halr@voltaire.com>
39 Dotan Barak <dotanb@mellanox.co.il>