RPMA_CONN_CFG_GET_RQ_SIZE(3)

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

πŸ’– rpma_conn_cfg_get_rq_size β€” get RQ size for the connection πŸ’–

okay bestie, welcome to the rpma_conn_...get_rq_size(3) page from the RPMA Programmer's Manual β€” yes that's the whole title, it's giving ✨abbreviated✨ and we love her for it.


🌸 SYNOPSIS 🌸

#include <librpma.h>

struct rpma_conn_cfg;
int rpma_conn_cfg_get_rq_size(const struct rpma_conn_cfg *cfg, uint32_t *rq_size);

πŸ¦‹ DESCRIPTION πŸ¦‹

so like. rpma_conn_cfg_get_rq_size() gets the RQ size for the connection. that's it, that's the whole vibe. it reaches into your cfg and pulls out the RQ size, no cap. πŸ’…


πŸ‘‘ RETURN VALUE πŸ‘‘

the way this works is:

  • returns 0 on success, slay ✨
  • returns a negative error code on failure 😭
and listen β€” on failure, rpma_conn_cfg_get_rq_size() does not set the *rq_size value. so don't go reading it like it's valid, because it is not. main character rule: check the return code first, periodt.

πŸ’€ ERRORS πŸ’€

rpma_conn_cfg_get_rq_size() can fail with the following error:

  • RPMA_E_INVAL β€” cfg or rq_size is NULL πŸ™ˆ like bestie, you gotta pass something. no NULLs allowed, it's giving empty-handed.

πŸŽ€ SEE ALSO πŸŽ€


and that's the tea, bestie 🫢 this was the RPMA manual page, dated 01 April 2024, rpma_conn_...get_rq_size(3) β€” go forth and get that RQ size, you're literally an icon for reading the docs πŸ’œπŸ§šβ­

πŸ“¦ where this page comes from