1UMAD_INIT(3)              OpenIB Programmer´s Manual              UMAD_INIT(3)
2
3
4

NAME

6       umad_init, umad_done - perform library initialization and finalization
7

SYNOPSIS

9       #include <infiniband/umad.h>
10
11       int umad_init(void);
12       int umad_done(void);
13

DESCRIPTION

15       umad_init() initializes the umad library for use. Must be called before
16       any other call to this library.
17
18       umad_done() finalizes the use of the umad library.
19

RETURN VALUE

21       umad_init() and umad_done() return 0  on  success,  and  -1  on  error.
22       Error  is returned from umad_init() if infiniband umad can´t be opened,
23       or the abi version  doesn´t  match.   There  are  no  errors  currently
24       returned by umad_done().
25

NOTES

27       If an error occurs during the library initialization, no further use of
28       the umad library should be attempted.
29

AUTHORS

31       Hal Rosenstock <halr@voltaire.com>
32
33       Dotan Barak <dotanb@mellanox.co.il>
34
35
36
37OpenIB                           May 21, 2007                     UMAD_INIT(3)
Impressum