NAME¶
rpma_conn_get_completion_fd - get the completion file descriptor
SYNOPSIS¶
#include <librpma.h>
struct rpma_conn;
int rpma_conn_get_completion_fd(const struct rpma_conn *conn, int *fd);
DESCRIPTION¶
rpma_conn_get_completion_fd() gets the completion file descriptor of the
connection.
RETURN VALUE¶
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.
ERRORS¶
rpma_conn_get_completion_fd() can fail with the following error:
- •
- RPMA_E_INVAL - conn or fd is NULL