nanomsg™ next generation NNG™  
Home GitHub Documentation

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

SYNOPSIS

#include <nng/nng.h>

typedef struct nng_stat nng_stat;

const char *nng_stat_string(nng_stat *stat);

DESCRIPTION

The nng_stat_string() function returns a string value for the statistic stat, which must be of type NNG_STAT_STRING (see nng_stat_type(3)).

If the statistic is not of type NNG_STAT_STRING, then NULL will be returned.

RETURN VALUES

The string value associated with stat, or NULL if the statistic is not a string type.

ERRORS

None.

NNG Reference Manual vv1.2.2 © 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.