From 82afec95496fd2e4b8fb404aa90e961f93db1fe8 Mon Sep 17 00:00:00 2001 From: Jake Woltersdorf Date: Tue, 8 Jan 2019 18:31:19 +0800 Subject: fixes typos in stat man pages --- docs/man/nng_stat.5.adoc | 2 +- docs/man/nng_stat_value.3.adoc | 4 ++-- docs/man/nng_stats_get.3.adoc | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/man') diff --git a/docs/man/nng_stat.5.adoc b/docs/man/nng_stat.5.adoc index 8c8a5746..d0d377c8 100644 --- a/docs/man/nng_stat.5.adoc +++ b/docs/man/nng_stat.5.adoc @@ -49,7 +49,7 @@ to running operations, but there is still some impact caused by collection of statistics. The time when a statistic`'s value is captured can be obtained using -`<>`, which is useful for +`<>`, which is useful for measuring rates of change in certain statistics. NOTE: The presence, names, and meanings of any given statistic are 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 `<>` for a description of statistic types. == RETURN VALUES diff --git a/docs/man/nng_stats_get.3.adoc b/docs/man/nng_stats_get.3.adoc index caf91dc3..48fde26c 100644 --- a/docs/man/nng_stats_get.3.adoc +++ b/docs/man/nng_stats_get.3.adoc @@ -21,7 +21,7 @@ nng_stats_get - get statistics snapshot typedef struct nng_stat nng_stat; -int nng_stats_get(nng_stat *statsp) +int nng_stats_get(nng_stat **statsp) ---- == DESCRIPTION -- cgit v1.2.3-70-g09d2