rpma_ep_get_fd(3) | RPMA Programmer's Manual | rpma_ep_get_fd(3) |
rpma_ep_get_fd - get a file descriptor of the endpoint
#include <librpma.h>
struct rpma_ep;
int rpma_ep_get_fd(const struct rpma_ep *ep, int *fd);
rpma_ep_get_fd() gets the file descriptor of the endpoint.
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.
rpma_ep_get_fd() can fail with the following error:
rpma_ep_listen(3), librpma(7) and https://pmem.io/rpma/
10 January 2023 | RPMA |