.\" Extracted by src2man from /build/rpma-11eW7Q/rpma-1.3.0/src/include/librpma.h .\" Text automatically generated by txt2man .TH rpma_conn_delete 3 "29 May 2023" "RPMA" "RPMA Programmer's Manual" .SH NAME \fBrpma_conn_delete \fP- delete already closed connection .SH SYNOPSIS .nf .fam C #include struct rpma_conn; int \fBrpma_conn_delete\fP(struct rpma_conn **conn_ptr); .fam T .fi .fam T .fi .SH DESCRIPTION \fBrpma_conn_delete\fP() deletes already closed connection. .SH RETURN VALUE The \fBrpma_conn_delete\fP() function returns 0 on success or a negative error code on failure. \fBrpma_conn_delete\fP() sets *conn_ptr value to NULL on success and on failure. .SH ERRORS \fBrpma_conn_delete\fP() can fail with the following errors: .IP \(bu 3 RPMA_E_INVAL - conn_ptr is NULL or \fBmunmap\fP() failed .IP \(bu 3 RPMA_E_PROVIDER - \fBibv_destroy_cq\fP() or \fBrdma_destroy_id\fP() failed .SH SEE ALSO \fBrpma_conn_disconnect\fP(3), \fBrpma_conn_req_connect\fP(3), \fBlibrpma\fP(7) and https://pmem.io/rpma/