rpma_conn_get_compl_fd(3)

rpma_conn_get_compl_fd3

Get a file descriptor of the shared completion channel of the connection

Usage

      #include <librpma.h>
      struct rpma_conn;
      int fd;
      int rpma_conn_get_compl_fd(const struct rpma_conn *conn, int *fd);

Overview

rpma_conn_get_compl_fd() gets a file descriptor of the shared completion channel from the connection.

Return value

The rpma_conn_get_compl_fd() function returns 0 on success or a negative error code on failure. rpma_conn_get_compl_fd() does not set *fd value on failure.

Errors

rpma_conn_get_compl_fd() can fail with the following errors:

•

RPMA_E_INVAL - conn or fd is NULL

•

RPMA_E_NOT_SHARED_CHNL - the completion event channel is not shared

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.