NNG_STAT_BOOL(3)
π NNG_STAT_BOOL(3) π
okay bestie, come sit with me, we're reading a page from the NNG Reference Manual β it's nng_stat_bool, and yes it's a tiny one but it's lowkey iconic so let's go β¨
β¨ NAME β¨
nng_stat_bool β get statistic Boolean value π
πΈ SYNOPSIS πΈ
#include <nng/nng.h>
typedef struct nng_stat nng_stat;
bool nng_stat_bool(nng_stat *stat);
π¦ DESCRIPTION π¦
so the nng_stat_bool() function hands you the Boolean value for the statistic stat. that's the whole vibe, that's the job π
but bestie, listen β if that statistic is not of Boolean type, the result is indeterminate. not undefined-in-a-fun-way, undefined-in-a-why-are-you-like-this-way. so don't do that π
if you wanna know what types even exist, go check nng_stat_type() β it describes all the statistic types for you. no cap π
π RETURN VALUES π
the boolean value associated with stat. that's it. that's the tea β
π ERRORS π
None. literally none. not a single one. she simply does not miss π
π«Ά SEE ALSO π«Ά
and that's the page!! this lil baddie comes to you courtesy of the NNG Reference Manual, dated 2026-06-30 β mwah, go read nng_stat_type() next, ily, bye ππ§β
π¦ where this page comes from
- ubuntu stonking: libnng-dev 1.12.0-1 Β· MIT OR Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms