Query: umad_done
OS: centos
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
UMAD_INIT(3) OpenIB Programmer's Manual UMAD_INIT(3)NAMEumad_init, umad_done - perform library initialization and finalizationSYNOPSIS#include <infiniband/umad.h> int umad_init(void); int umad_done(void);DESCRIPTIONumad_init() initializes the umad library for use. Must be called before any other call to this library. umad_done() finalizes the use of the umad library.RETURN VALUEumad_init() and umad_done() return 0 on success, and -1 on error. Error is returned from umad_init() if infiniband umad can't be opened, or the abi version doesn't match. There are no errors currently returned by umad_done().NOTESIf an error occurs during the library initialization, no further use of the umad library should be attempted.AUTHORSHal Rosenstock <halr@voltaire.com> Dotan Barak <dotanb@mellanox.co.il> OpenIB May 21, 2007 UMAD_INIT(3)