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_conn_cfg_get_timeout - get connection establishment timeout

Description

rpma_conn_cfg_get_timeout() gets the connection establishment timeout.

Errors

rpma_conn_cfg_get_timeout() can fail with the following error:

       •  RPMA_E_INVAL - cfg or timeout_ms is NULL

Name

rpma_conn_cfg_get_timeout - get connection establishment timeout

Return Value

       The  rpma_conn_cfg_get_timeout()  function  returns  0  on  success  or a negative error code on failure.
       rpma_conn_cfg_get_timeout() does not set *timeout_ms value on failure.

See Also

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

RPMA                                              01 April 2024                     rpma_conn_cfg_get_timeout(3)

Synopsis

             #include <librpma.h>

             struct rpma_conn_cfg;
             int rpma_conn_cfg_get_timeout(const struct rpma_conn_cfg *cfg, int *timeout_ms);

See Also