PMDK man page

librpma

NAME

rpma_cq_get_fd - get the completion file descriptor

SYNOPSIS

      #include <librpma.h>

      struct rpma_cq;
      int rpma_cq_get_fd(const struct rpma_cq *cq, int *fd);

DESCRIPTION

rpma_cq_get_fd() gets the completion file descriptor of the CQ, either for the connection's main CQ or the receive CQ. For details please see rpma_conn_get_cq(3) and rpma_conn_get_rcq(3).

RETURN VALUE

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

ERRORS

rpma_cq_get_fd() can fail with the following error:

SEE ALSO

rpma_conn_get_cq(3), rpma_conn_get_rcq(3), rpma_cq_wait(3), rpma_cq_get_completion(3), librpma(7) and https://pmem.io/rpma/