logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rpma_ep_get_fd - get a file descriptor of the endpoint

Description

rpma_ep_get_fd() gets the file descriptor of the endpoint.

Errors

rpma_ep_get_fd() can fail with the following error:

       •  RPMA_E_INVAL - ep or fd is NULL

Name

rpma_ep_get_fd - get a 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.

See Also

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

RPMA                                              01 April 2024                                rpma_ep_get_fd(3)

Synopsis

             #include <librpma.h>

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

See Also