NNG_STAT_NEXT(3)
π NNG_STAT_NEXT(3) π
okay bestie so you're deep in the NNG Reference Manual and you found this page, and honestly? it's giving short king energy. that's fine!! not everything has to be a 40-option banger. let's go β¨
π NAME π
nng_stat_next β get next statistic, bestie. that's it. that's the whole vibe check.
πΈ SYNOPSIS πΈ
#include <nng/nng.h>
typedef struct nng_stat nng_stat;
nng_stat *nng_stat_next(nng_stat *stat);
yes queen, that's exactly how you type it. don't come for me about spacing π
π¦ DESCRIPTION π¦
so nng_stat_next() hands you back the next sibling statistic of the statistic you passed in as stat. sibling!! like it's walking down the list next to you, not going down into the kids. iykyk β¨
and if there are no more siblings left to walk to? boom, NULL is what you get back. no drama, no error, just NULL telling you the family reunion is over π
π«Ά RETURN VALUES π«Ά
- the next sibling statistic of
statπ - or
NULLβ specifically whenstatis the last sibling, i.e. you've reached the end of the line bestie, no more siblings after this one π
π ERRORS π
None.
literally none. zero. not one. it's unproblematic and we love that for her π
β SEE ALSO β
go read those next, they're the rest of the friend group π§
that's the whole page babes π
this was the NNG Reference Manual edition, dropped on 2026-06-30, filed under the most iconic manual name ever: NNG_STAT_NEXT(3). periodt. now go traverse those stats and slay πβ¨πΈπ¦π
π¦ 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