Scroll to navigation

rpma_peer_cfg_get_descriptor_size(3) RPMA Programmer's Manual rpma_peer_cfg_get_descriptor_size(3)

NAME

rpma_peer_cfg_get_descriptor_size - get size of the peer cfg descriptor

SYNOPSIS


#include <librpma.h>
struct rpma_peer_cfg;
int rpma_peer_cfg_get_descriptor_size(const struct rpma_peer_cfg *pcfg, size_t *desc_size);

DESCRIPTION

rpma_peer_cfg_get_descriptor_size() gets size of the peer configuration descriptor.

RETURN VALUE

The rpma_peer_cfg_get_descriptor_size() function returns 0 on success or a negative error code on failure.

ERRORS

rpma_peer_cfg_get_descriptor_size() can fail with the following error:

RPMA_E_INVAL - pcfg or desc_size is NULL

SEE ALSO

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

10 January 2023 RPMA