.\" Extracted by src2man from /build/rpma-11eW7Q/rpma-1.3.0/src/include/librpma.h .\" Text automatically generated by txt2man .TH rpma_ep_shutdown 3 "29 May 2023" "RPMA" "RPMA Programmer's Manual" .SH NAME \fBrpma_ep_shutdown \fP- stop listening and delete the endpoint .SH SYNOPSIS .nf .fam C #include struct rpma_ep; int \fBrpma_ep_shutdown\fP(struct rpma_ep **ep_ptr); .fam T .fi .fam T .fi .SH DESCRIPTION \fBrpma_ep_shutdown\fP() stops listening for incoming connections and deletes the endpoint. The connections established using the endpoint will still exist after deleting the endpoint. .SH RETURN VALUE The \fBrpma_ep_shutdown\fP() function returns 0 on success or a negative error code on failure. \fBrpma_ep_shutdown\fP() does not set *ep_ptr value to NULL on failure. .SH ERRORS \fBrpma_ep_shutdown\fP() can fail with the following errors: .IP \(bu 3 RPMA_E_INVAL - ep_ptr is NULL .IP \(bu 3 RPMA_E_PROVIDER - \fBrdma_destroy_id\fP(3) failed .SH SEE ALSO \fBrpma_ep_listen\fP(3), \fBlibrpma\fP(7) and https://pmem.io/rpma/