Homepage > Man Pages > Category > Subroutines
Homepage > Man Pages > Name > U

umad_init

man page of umad_init

umad_init: perform library initialization and finalization

NAME
umad_init, umad_done - perform library initialization and finalization
SYNOPSIS
#include <infiniband/umad.h> int umad_init(void); int umad_done(void);

DESCRIPTION

umad_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 VALUE

umad_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().

NOTES

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

AUTHORS

Hal Rosenstock <halr@voltaire.com> Dotan Barak <dotanb@mellanox.co.il> UMAD_INIT(3)
 
 
 

Copyright © 2011–2018 by topics-of-interest.com . All rights reserved. Hosted by all-inkl.
Contact · Imprint · Privacy

Page generated in 60.92ms.

Educational | brauchbar.de | roboter.name