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

rpma_conn_cfg_delete - delete the connection configuration object


#include <librpma.h>
struct rpma_conn_cfg;
int rpma_conn_cfg_delete(struct rpma_conn_cfg **cfg_ptr);

rpma_conn_cfg_delete() deletes the connection configuration object.

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

rpma_conn_cfg_delete() can fail with the following error:

RPMA_E_INVAL - cfg_ptr is NULL

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

10 January 2023 RPMA