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

rpma_mr_remote_delete - delete the remote memory region's structure


#include <librpma.h>
struct rpma_mr_remote;
int rpma_mr_remote_delete(struct rpma_mr_remote **mr_ptr);

rpma_mr_remote_delete() deletes the remote memory region's structure.

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

rpma_mr_remote_delete() can fail with the following error:

RPMA_E_INVAL - mr_ptr is NULL

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

10 January 2023 RPMA