rpma_peer_delete - delete a peer object
#include <librpma.h>
struct rpma_peer;
int rpma_peer_delete(struct rpma_peer **peer_ptr);
rpma_peer_delete() deletes the peer object.
The rpma_peer_delete() function returns 0 on success or a negative error code on failure. rpm_peer_delete() does not set *peer_ptr value to NULL on failure.
The rpma_peer_delete() function returns 0 on success or a negative error code on failure. rpma_peer_delete() does not set *peer_ptr to NULL on failure.
rpma_peer_delete() can fail with the following error:
rpma_peer_new(3), librpma(7) and https://pmem.io/rpma/
The contents of this web site and the associated GitHub repositories are BSD-licensed open source.