aboutsummaryrefslogtreecommitdiff
path: root/docs/man/nng_stat_value.3.adoc
diff options
context:
space:
mode:
authorJake Woltersdorf <jake@playruyi.com>2019-01-08 18:31:19 +0800
committerGarrett D'Amore <garrett@damore.org>2019-01-15 06:56:13 -0800
commit82afec95496fd2e4b8fb404aa90e961f93db1fe8 (patch)
treec5d99268e8b748b1e70c6c5a12b9b5839c069289 /docs/man/nng_stat_value.3.adoc
parentd0a26bbd1caf3de2132855d7936fed8ac1f1488c (diff)
downloadnng-82afec95496fd2e4b8fb404aa90e961f93db1fe8.tar.gz
nng-82afec95496fd2e4b8fb404aa90e961f93db1fe8.tar.bz2
nng-82afec95496fd2e4b8fb404aa90e961f93db1fe8.zip
fixes typos in stat man pages
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