rpma_peer_cfg_delete - delete the peer configuration object
Contents
Description
rpma_peer_cfg_delete() deletes the peer configuration object.
Errors
rpma_peer_cfg_delete() can fail with the following error:
• RPMA_E_INVAL - pcfg_ptr is NULL
Name
rpma_peer_cfg_delete - delete the peer configuration object
Return Value
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.
See Also
rpma_peer_cfg_new(3), librpma(7) and https://pmem.io/rpma/ RPMA 01 April 2024 rpma_peer_cfg_delete(3)
Synopsis
#include <librpma.h>
struct rpma_peer_cfg;
int rpma_peer_cfg_delete(struct rpma_peer_cfg **pcfg_ptr);
