RPMA_CONN_CFG_GET_TIMEOUT(3)
π rpma_conn_cfg_get_timeout(3) β RPMA Programmer's Manual π
okay bestie, welcome to the RPMA Programmer's Manual β¨ this is the page for rpma_conn_cfg_get_timeout(3) and honestly? it's giving "small but mighty". let's get into it π«Ά
πΈ NAME πΈ
rpma_conn_cfg_get_timeout β get the connection establishment timeout π
β¨ SYNOPSIS β¨
#include <librpma.h>
struct rpma_conn_cfg;
int rpma_conn_cfg_get_timeout(const struct rpma_conn_cfg *cfg, int *timeout_ms);
π¦ DESCRIPTION π¦
so rpma_conn_cfg_get_timeout() does exactly one (1) thing and it does it flawlessly: it gets the connection establishment timeout. that's it. that's the function. no cap π
β RETURN VALUE β
rpma_conn_cfg_get_timeout() returns 0 on success, or a negative error code on failure π
and listen, this part matters: rpma_conn_cfg_get_timeout() does not set the *timeout_ms value on failure. like, don't go reading it and hoping, bestie, it will not be there for you π
π ERRORS π
rpma_conn_cfg_get_timeout() can fail with the following error:
RPMA_E_INVALβcfgortimeout_msisNULLπ
π SEE ALSO π
and that's the whole page, bestie!! this was RPMA, dated 01 April 2024, from the rpma_conn_...get_timeout(3) files π«Ά go forth and get those timeouts, you main character ππ
π¦ where this page comes from
- ubuntu noble: librpma-dev 1.3.0-2build2 Β· BSD-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms