RPMA_CONN_CFG_GET_RQ_SIZE(3)
π 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
0on success, slay β¨ - returns a negative error code on failure π
and listen β on failure,rpma_conn_cfg_get_rq_size()does not set the*rq_sizevalue. 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βcfgorrq_sizeisNULLπ like bestie, you gotta pass something. no NULLs allowed, it's giving empty-handed.
π SEE ALSO π
rpma_conn_cfg_new(3)rpma_conn_cfg_set_rq_size(3)librpma(7)- and the whole website moment: https://pmem.io/rpma/ π
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
- 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