File: rdma_destroy_id.3

package info (click to toggle)
rdma-core 56.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 17,196 kB
  • sloc: ansic: 171,361; python: 13,724; sh: 2,774; perl: 1,465; makefile: 73
file content (23 lines) | stat: -rw-r--r-- 840 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.\" Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md
.TH "RDMA_DESTROY_ID" 3 "2010-07-19" "librdmacm" "Librdmacm Programmer's Manual" librdmacm
.SH NAME
rdma_destroy_id \- Release a communication identifier.
.SH SYNOPSIS
.B "#include <rdma/rdma_cma.h>"
.P
.B "int" rdma_destroy_id
.BI "(struct rdma_cm_id *" id ");"
.SH ARGUMENTS
.IP "id" 12
The communication identifier to destroy.
.SH "DESCRIPTION"
Destroys the specified rdma_cm_id and cancels any outstanding
asynchronous operation.
.SH "RETURN VALUE"
Returns 0 on success, or -1 on error.  If an error occurs, errno will be
set to indicate the failure reason.
.SH "NOTES"
Users must free any associated QP with the rdma_cm_id before
calling this routine and ack all related events.
.SH "SEE ALSO"
rdma_create_id(3), rdma_destroy_qp(3), rdma_ack_cm_event(3)