rpma_mr_remote_get_size3
Get a remote memory region size
Usage
#include <librpma.h>
struct rpma_mr_remote;
int rpma_mr_remote_get_size(const struct rpma_mr_remote *mr,
size_t *size);
Overview
rpma_mr_remote_get_size() gets the size of the remote memory region.
Return value
The rpma_mr_remote_get_size() function returns 0 on success or a negative error code on failure. rpma_mr_remote_get_size() does not set *size value on failure.
Errors
rpma_mr_remote_get_size() can fail with the following error:
- •
-
RPMA_E_INVAL - mr or size is NULL
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.