rpma_peer_cfg_get_descriptor3
Get the descriptor of the peer configuration
Usage
#include <librpma.h>
struct rpma_peer_cfg;
int rpma_peer_cfg_get_descriptor(const struct rpma_peer_cfg *pcfg, void *desc);
Overview
rpma_peer_cfg_get_descriptor() gets the descriptor of the peer configuration.
Security warning
Return value
The rpma_peer_cfg_get_descriptor() function returns 0 on success or a negative error code on failure.
Errors
rpma_peer_cfg_get_descriptor() can fail with the following error:
- •
-
RPMA_E_INVAL - pcfg or desc are NULL
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.