This documentation is for version v1.7.1 of NNG, but the latest released version is v1.8.0. see the documentation for v1.8.0 for the most up-to-date information.

nng_stat_bool(3)

NAME

nng_stat_bool - get statistic Boolean value

SYNOPSIS

#include <nng/nng.h>

typedef struct nng_stat nng_stat;

bool nng_stat_bool(nng_stat *stat);

DESCRIPTION

The nng_stat_bool() function returns the Boolean value for the statistic stat. Otherwise, if the statistic is not of Boolean type, the result is indeterminate. See nng_stat_type() for a description of statistic types.

RETURN VALUES

The boolean value associated with stat.

ERRORS

None.

SEE ALSO