NNG_STAT_CHILD(3) NNG Reference Manual NNG_STAT_CHILD(3)

nng_stat_child - get child statistic

#include <nng/nng.h>
typedef struct nng_stat nng_stat;
nng_stat *nng_stat_child(nng_stat *parent);

The nng_stat_child() function returns the first child statistic of the statistic parent. If no children are present, then NULL is returned.


Tip

Only statistics with type (see nng_stat_type())
of NNG_STAT_SCOPE will have children.

The first child statistic of parent, or NULL if parent has no children.

None.

libnng(3), nng_stat_next(3), nng_stats_get(3), nng_stat(5), nng(7)

2025-01-05