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
13       int umad_done(void);
14

DESCRIPTION

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

RETURN VALUE

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

NOTES

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

AUTHORS

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