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

rpma_conn_get_compl_fd - get a file descriptor of the shared completion channel of the connection

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

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

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.

rpma_conn_get_compl_fd() can fail with the following errors:

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

29 October 2024 RPMA