Provided by: librpma-dev_1.3.0-2build2_amd64 bug

NAME

       rpma_ep_get_fd - get a file descriptor of the endpoint

SYNOPSIS

             #include <librpma.h>

             struct rpma_ep;
             int rpma_ep_get_fd(const struct rpma_ep *ep, int *fd);

DESCRIPTION

       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

SEE ALSO

       rpma_ep_listen(3), librpma(7) and https://pmem.io/rpma/