This documentation is for the TIP (development tree) of NNG and may represent unreleased changes or functionality that is experimental, and is subject to change before release. The latest released version is v1.8.0. See the documentation for v1.8.0 for the most up-to-date information.

nng_stat_child(3)

NAME

nng_stat_child - get child statistic

SYNOPSIS

#include <nng/nng.h>

typedef struct nng_stat nng_stat;

nng_stat *nng_stat_child(nng_stat *parent);

DESCRIPTION

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

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.

SEE ALSO