RPMA_CONN_CFG_GET_TIMEOUT(3)

πŸ“¦
version 1.3.0 Β· 3 versions
, in ubuntu noble

πŸ’– 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 β€” cfg or timeout_ms is NULL πŸ’€

πŸŽ€ 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