.\" -*- nroff -*-
.\"
.TH UMAD_STATUS 3  "May 17, 2007" "OpenIB" "OpenIB Programmer\'s Manual"
.SH "NAME"
umad_status \- get the status of a umad buffer
.SH "SYNOPSIS"
.nf
.B #include <infiniband/umad.h>
.sp
.BI "int umad_status(void " "*umad" );
.fi
.SH "DESCRIPTION"
.B umad_status()
get the internal
.I umad\fR
status field.
.SH "RETURN VALUE"
After a packet is received,
.B umad_status()
returns 0 on a successful receive, or a non zero status.
ETIMEDOUT means that the packet had
a send-timeout indication. In this case, the transaction ID will be
set to the TID of the original request.
.SH "AUTHOR"
.TP
Hal Rosenstock <halr@voltaire.com>