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

int umad_init(void);

int umad_done(void);
.EE
.SH DESCRIPTION
\f[B]umad_init()\f[R] and \f[B]umad_done()\f[R] do nothing.
.SH RETURN VALUE
Always 0.
.SH COMPATIBILITY
Versions prior to release 18 of the library require
\f[B]umad_init()\f[R] 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[R].
.PP
For compatibility, applications should continue to call
\f[B]umad_init()\f[R], and check the return code, prior to calling other
\f[B]umad_\f[R] functions.
If \f[B]umad_init()\f[R] returns an error, then no further use of the
umad library should be attempted.
.SH AUTHORS
Dotan Barak \c
.MT dotanb@mellanox.co.il
.ME \c
, Hal Rosenstock \c
.MT halr@voltaire.com
.ME \c
