From 3ec5c9995f9c5611292bd18211fce9402efcb663 Mon Sep 17 00:00:00 2001 From: "Staysail Systems, Inc" Date: Sun, 26 Nov 2023 13:06:39 -0800 Subject: v1.6.0 docs --- man/v1.6.0/nng_stat_string.3.html | 83 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 man/v1.6.0/nng_stat_string.3.html (limited to 'man/v1.6.0/nng_stat_string.3.html') diff --git a/man/v1.6.0/nng_stat_string.3.html b/man/v1.6.0/nng_stat_string.3.html new file mode 100644 index 00000000..eb7a00e1 --- /dev/null +++ b/man/v1.6.0/nng_stat_string.3.html @@ -0,0 +1,83 @@ +--- +version: v1.6.0 +layout: manpage_v2 +title: nng_stat_string(3) +--- +

nng_stat_string(3)

+
+

NAME

+
+
+

nng_stat_string - get statistic string value

+
+
+
+
+

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.

+
+
+ + + + + +
+ + +The returned string is valid until nng_stats_free() is called to +free the memory for the snapshot. +
+
+
+
+
+

RETURN VALUES

+
+
+

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

+
+
+
+
+

ERRORS

+
+
+

None.

+
+
+
+
+

SEE ALSO

+ +
-- cgit v1.2.3-70-g09d2