rpma_conn_cfg_get_timeout3
Get connection establishment timeout
Usage
#include <librpma.h>
struct rpma_conn_cfg;
int rpma_conn_cfg_get_timeout(const struct rpma_conn_cfg *cfg, int *timeout_ms);
Overview
rpma_conn_cfg_get_timeout() gets the 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.
Errors
rpma_conn_cfg_get_timeout() can fail with the following error:
- •
-
RPMA_E_INVAL - cfg or timeout_ms is NULL
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.