NNG_STAT_FIND_DIALER(3)
π NNG_STAT_FIND_DIALER π
okay bestie, welcome to the NNG_STAT_FIND_DIALER(3) page from the NNG Reference Manual β yes it's a mouthful, no we're not scared of it, let's go π«Ά
β¨ NAME β¨
nng_stat_find_dialer β bestie's lil mission: find dialer statistics π
π¦ SYNOPSIS π¦
#include <nng/nng.h>
typedef struct nng_stat nng_stat;
typedef struct nng_dialer nng_dialer;
nng_stat *nng_stat_find_dialer(nng_stat *stat, nng_dialer dialer);
πΈ DESCRIPTION πΈ
So here's the vibe: nng_stat_find_dialer() hands you back the statistics tree that lives inside stat and belongs to the dialer dialer β like, but only if that tree actually exists though. If it doesn't? You get NULL. That's it. That's the whole thing. π
And generally speaking, the value you get back is gonna have child statistics under it β each one matching up to a specific metric, one lil stat per metric, iconic behavior honestly. You can dig through those either by using nng_stat_find(3) or by just walking the tree with nng_stat_child(3). Pick your fighter. π
β RETURN VALUES β
The matching statistic, or NULL if no match is found. No in-between, no maybe, periodt. π
π ERRORS π
None. Literally zero. Not a single one. She simply does not do errors. β¨
π SEE ALSO π
libnng(3)nng_stat_child(3)nng_stat_find(3)nng_stat_find_listener(3)nng_stat_find_socket(3)nng_stats_get(3)nng_stat(5)nng(7)
k that's the whole page, you ate it, no crumbs left π this lil masterpiece is dated 2026-06-30 and it's serving NNG Reference Manual energy, mwah π
π¦ 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