.\" -*- nroff -*-
.\"
.TH UMAD_GET_FD 3  "May 17, 2007" "OpenIB" "OpenIB Programmer\'s Manual"
.SH "NAME"
umad_get_fd \- get the umad fd for the requested port
.SH "SYNOPSIS"
.nf
.B #include <infiniband/umad.h>
.sp
.BI "int umad_get_fd(int " "portid" );
.fi
.SH "DESCRIPTION"
.B umad_get_fd()
returns the umad fd for the port specified by
.I portid\fR.
.SH "RETURN VALUE"
.B umad_get_fd()
returns the fd for the
.I portid\fR
requested or -EINVAL if
.I portid\fR
is invalid.
.SH "AUTHOR"
.TP
Hal Rosenstock <halr@voltaire.com>