perform library initialization and finalization
int umad_init(void);int umad_done(void);
initializes the umad library for use. Must be called before any
other call to this library.
finalizes the use of the umad library.
return 0 on success, and -1 on error.
Error is returned from
if infiniband umad
can't be opened, or the abi version doesn't match.
There are no errors currently returned by
If an error occurs during the library initialization, no further use of the
umad library should be attempted.