nng_stats_free(3)

nng_stats_free3

Free statistics snapshot

Usage

#include <nng/nng.h>
typedef nng_stat nng_stat;
void nng_stats_free(nng_stat *);

Overview

The nng_stats_free() function deallocates a statistics snapshot previously collected with nng_stats_get(). After calling this, all values associated with the snapshot are invalidated.

Important

Only the top of the collected statistics tree can be freed using this function.

Return values

None.

Errors

None.

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