summaryrefslogtreecommitdiff
path: root/docs/man/nng_stat_value.3.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/man/nng_stat_value.3.adoc')
-rw-r--r--docs/man/nng_stat_value.3.adoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/man/nng_stat_value.3.adoc b/docs/man/nng_stat_value.3.adoc
index 320e2f01..c62d761c 100644
--- a/docs/man/nng_stat_value.3.adoc
+++ b/docs/man/nng_stat_value.3.adoc
@@ -21,7 +21,7 @@ nng_stat_value - get statistic value
typedef struct nng_stat nng_stat;
-uint64_t nng_stat_string(nng_stat *stat);
+uint64_t nng_stat_value(nng_stat *stat);
----
== DESCRIPTION
@@ -29,7 +29,7 @@ uint64_t nng_stat_string(nng_stat *stat);
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.
+Otherwise, if the statistic is not of numeric type, then zero is returned.
See `<<nng_stat_type.3#,nng_stat_type()>>` for a description of statistic types.
== RETURN VALUES