nng_stat_child(3)

nng_stat_child3

Get child statistic

Usage

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

Overview

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.

Return values

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

Errors

None.

From libnng-dev 1.10.1-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.