DOKK / manpages / debian 12 / librpma-dev / rpma_conn_req_delete.3.en
rpma_conn_req_delete(3) RPMA Programmer's Manual rpma_conn_req_delete(3)

rpma_conn_req_delete - delete the connection requests


#include <librpma.h>
struct rpma_conn_req;
int rpma_conn_req_delete(struct rpma_conn_req **req_ptr);

rpma_conn_req_delete() deletes the connection requests both incoming and outgoing.

The rpma_conn_req_delete() function returns 0 on success or a negative error code on failure. rpma_conn_req_delete() sets *req_ptr value to NULL on success and on failure.

rpma_conn_req_delete() can fail with the following errors:

  • RPMA_E_INVAL - req_ptr is NULL
  • RPMA_E_PROVIDER

rpma_conn_req_new(3), librpma(7) and https://pmem.io/rpma/

10 January 2023 RPMA