rpma_conn_get_event_fd - get an event file descriptor of the connection
Contents
Description
rpma_conn_get_event_fd() gets an event file descriptor of the connection.
Errors
rpma_conn_get_event_fd() can fail with the following error:
• RPMA_E_INVAL - conn or fd is NULL
Name
rpma_conn_get_event_fd - get an event file descriptor of the connection
Return Value
The rpma_conn_get_event_fd() function returns 0 on success or a negative error code on failure.
rpma_conn_get_event_fd() does not set *fd value on failure.
See Also
rpma_conn_next_event(3), rpma_conn_req_connect(3), librpma(7) and https://pmem.io/rpma/ RPMA 01 April 2024 rpma_conn_get_event_fd(3)
Synopsis
#include <librpma.h>
struct rpma_conn;
int rpma_conn_get_event_fd(const struct rpma_conn *conn, int *fd);
