rpma_mr_get_size - get the size of the local memory region
#include <librpma.h>
struct rpma_mr_local;
int rpma_mr_get_size(const struct rpma_mr_local *mr, size_t *size);
rpma_mr_get_size() gets a memory region size from the local memory registration object.
The rpma_mr_get_size() function returns 0 on success or a negative error code on failure. rpma_mr_get_size() does not set *size value on failure.
rpma_mr_get_size() can fail with the following error:
rpma_mr_reg(3), librpma(7) and https://pmem.io/rpma/
The contents of this web site and the associated GitHub repositories are BSD-licensed open source.