logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nng_stat_child - get child statistic

Description

       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.

Errors

       None.

Name

       nng_stat_child - get child statistic

Return Values

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

See Also

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

                                                   2025-04-20                                  NNG_STAT_CHILD(3)

Synopsis

           #include <nng/nng.h>

           typedef struct nng_stat nng_stat;

           nng_stat *nng_stat_child(nng_stat *parent);

See Also