| .\" -*- nroff -*- |
| .\" Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md |
| .\" |
| .TH UMAD_SET_PKEY 3 "June 20, 2007" "OpenIB" "OpenIB Programmer's Manual" |
| .SH "NAME" |
| umad_set_pkey \- set pkey index within umad buffer |
| .SH "SYNOPSIS" |
| .nf |
| .B #include <infiniband/umad.h> |
| .sp |
| .BI "int umad_set_pkey(void " "*umad" ", int " "pkey_index"); |
| .fi |
| .SH "DESCRIPTION" |
| .B umad_set_pkey() |
| sets the pkey index within the specified |
| .I umad\fR |
| buffer. |
| .SH "RETURN VALUE" |
| .B umad_set_pkey() |
| returns 0 on success, and a negative value on an error. |
| .SH "AUTHOR" |
| .TP |
| Hal Rosenstock <halr@voltaire.com> |