nanomsg next generation NNG  
Home GitHub Documentation

This documentation is for version v1.1.0 of nng, but the latest released version is v1.7.3. see the documentation for v1.7.3 for the most up-to-date information.
nng_version(3)

SYNOPSIS

#include <nng/nng.h>

typedef struct nng_stat nng_stat;

uint64_t nng_stat_string(nng_stat *stat);

DESCRIPTION

The nng_stat_value() function returns a numeric value for the statistic stat. If the statistic has a boolean value, then zero is returned for false, and one is returned for true. Otherwise, if the string is not of numeric type, then zero is returned. See nng_stat_type(3) for a description of statistic types.

RETURN VALUES

The numeric or boolean value associated with stat.

ERRORS

None.

NNG Reference Manual vv1.1.0 © 2019 Staysail Systems, Inc, © 2018 Capitar IT Group BV
This document is supplied under the MIT License.
nanomsg™ and nng™ are trademarks of Garrett D'Amore.