NNG_STAT_NEXT(3)

πŸ“¦
version 1.12.0 Β· 4 versions
, in ubuntu stonking

πŸ’– 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 when stat is 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