.\" Automatically generated by Pandoc 1.16.0.2
.\"
.TH "UMAD_INIT" "3" "May 21, 2007" "OpenIB" "OpenIB Programmer\[aq]s Manual"
.hy
.SH NAME
.PP
umad_init, umad_done \- perform library initialization and finalization
.SH SYNOPSIS
.IP
.nf
\f[C]
#include\ <infiniband/umad.h>

int\ umad_init(void);

int\ umad_done(void);
\f[]
.fi
.SH DESCRIPTION
.PP
\f[B]umad_init()\f[] and \f[B]umad_done()\f[] do nothing.
.SH RETURN VALUE
.PP
Always 0.
.SH COMPATIBILITY
.PP
Versions prior to release 18 of the library require \f[B]umad_init()\f[]
to be called prior to using any other library functions.
Old versions could return a failure code of \-1 from
\f[B]umad_init()\f[].
.PP
For compatibility, applications should continue to call
\f[B]umad_init()\f[], and check the return code, prior to calling other
\f[B]umad_\f[] functions.
If \f[B]umad_init()\f[] returns an error, then no further use of the
umad library should be attempted.
.SH AUTHORS
.PP
Dotan Barak <dotanb@mellanox.co.il>, Hal Rosenstock <halr@voltaire.com>
