rpma_ep_get_fd3
Get a file descriptor of the endpoint
Usage
#include <librpma.h>
struct rpma_ep;
int rpma_ep_get_fd(const struct rpma_ep *ep, int *fd);
Overview
rpma_ep_get_fd() gets the file descriptor of the endpoint.
Return value
The rpma_ep_get_fd() function returns 0 on success or a negative error code on failure. rpma_ep_get_fd() does not set *fd value on failure.
Errors
rpma_ep_get_fd() can fail with the following error:
- •
-
RPMA_E_INVAL - ep or fd is NULL
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.