logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nng_stat_bool - get statistic Boolean value

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.

Errors

       None.

Name

       nng_stat_bool - get statistic Boolean value

Return Values

       The boolean value associated with stat.

See Also

libnng(3), nng_stats_get(3), nng_stat_type(3), nng_stat_unit(3), nng_stat_value(3), nng_stat(5), nng(7)

                                                   2025-04-20                                   NNG_STAT_BOOL(3)

Synopsis

           #include <nng/nng.h>

           typedef struct nng_stat nng_stat;

           bool nng_stat_bool(nng_stat *stat);

See Also