rpma_peer_cfg_get_descriptor(3)

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

See rpma_peer_cfg_from_descriptor(3).

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.

  1. 12
  2. 13

From librpma-dev 1.3.0-2+b3 in Debian 13 (Trixie). Parsed by carta from the page's man source.