rpma_conn_get_completion_fd - get the completion file descriptor
#include <librpma.h>
struct rpma_conn;
int rpma_conn_get_completion_fd(const struct rpma_conn *conn, int *fd);
rpma_conn_get_completion_fd() gets the completion file descriptor of the connection. It is the same file descriptor as the one returned by the rpma_cq_get_fd(3) for the connection's main CQ available via rpma_conn_get_cq(3).
The rpma_conn_get_completion_fd() function returns 0 on success or a negative error code on failure. rpma_conn_get_completion_fd() does not set *fd value on failure.
rpma_conn_get_completion_fd() can fail with the following error:
rpma_conn_completion_get(3), rpma_conn_completion_wait(3), rpma_conn_req_connect(3), librpma(7) and https://pmem.io/rpma/
The contents of this web site and the associated GitHub repositories are BSD-licensed open source.