]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/ofed/management/libibumad/man/umad_close_port.3
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / ofed / management / libibumad / man / umad_close_port.3
1 .\" -*- nroff -*-
2 .\"
3 .TH UMAD_OPEN_PORT 3  "May 11, 2007" "OpenIB" "OpenIB Programmer\'s Manual"
4 .SH "NAME"
5 umad_close_port \- close InfiniBand device port for umad access
6 .SH "SYNOPSIS"
7 .nf
8 .B #include <infiniband/umad.h>
9 .sp
10 .BI "int umad_close_port(int " "portid" );
11 .fi
12 .SH "DESCRIPTION"
13 .B umad_close_port()
14 closes the port specified by the handle
15 .I portid\fR.
16 .SH "RETURN VALUE"
17 .B umad_close_port()
18 returns 0 on success, and a negative value on error.
19 -EINVAL is returned if the
20 .I portid\fR
21 is not a handle to a valid (open) port.
22 .SH "SEE ALSO"
23 .BR umad_open_port (3)
24 .SH "AUTHOR"
25 .TP
26 Hal Rosenstock <halr@voltaire.com>