]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
librdmacm: Some fixes to man pages
authorGuy Shapiro <guysh@mellanox.com>
Tue, 5 Nov 2013 17:52:20 +0000 (19:52 +0200)
committerSean Hefty <sean.hefty@intel.com>
Thu, 7 Nov 2013 03:02:19 +0000 (19:02 -0800)
Fix the man pages of rdma_destroy_ep & rdma_destroy_qp to the correct return value (void).

man/rdma_destroy_ep.3
man/rdma_destroy_qp.3

index b48a1e59549dc8d0a90b280b362cd356f97589db..750702a01deef79470ae6a9674f4bc4a643d3f3c 100644 (file)
@@ -5,16 +5,13 @@ rdma_destroy_ep \- Release a communication identifier.
 .SH SYNOPSIS
 .B "#include <rdma/rdma_cma.h>"
 .P
-.B "int" rdma_destroy_ep
+.B "void" rdma_destroy_ep
 .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 all associated resources
-.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"
 rdma_destroy_ep will automatically destroy any QP and SRQ associated with
 the rdma_cm_id.
index aeff667eda9c8f48d7a073a94e54a190ab89197d..bb1360eb5140011e0c398438144dce63bfe562a9 100644 (file)
@@ -11,9 +11,6 @@ rdma_destroy_qp \- Deallocate a QP.
 RDMA identifier.
 .SH "DESCRIPTION"
 Destroy a QP allocated on the rdma_cm_id.
-.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 destroy any QP associated with an rdma_cm_id before
 destroying the ID.