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

rpma_peer_cfg_delete - delete the peer configuration object


#include <librpma.h>
struct rpma_peer_cfg;
int rpma_peer_cfg_delete(struct rpma_peer_cfg **pcfg_ptr);

rpma_peer_cfg_delete() deletes the peer configuration object.

The rpma_peer_cfg_delete() function returns 0 on success or a negative error code on failure. rpm_peer_cfg_delete() does not set *pcfg_ptr value to NULL on failure.

rpma_peer_cfg_delete() can fail with the following error:

RPMA_E_INVAL - pcfg_ptr is NULL

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

10 January 2023 RPMA