Provided by: librpma-dev_1.2.0-1_amd64 bug

NAME

       rpma_mr_dereg - delete a local memory registration object

SYNOPSIS

             #include <librpma.h>

             struct rpma_mr_local;
             int rpma_mr_dereg(struct rpma_mr_local **mr_ptr);

DESCRIPTION

       rpma_mr_dereg()  deregisters  a  memory  region  and  deletes  a local memory registration
       object.

RETURN VALUE

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

ERRORS

       rpma_mr_dereg() can fail with the following errors:

       •  RPMA_E_INVAL - mr_ptr is NULL

       •  RPMA_E_PROVIDER - memory deregistration failed

SEE ALSO

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