diff options
| -rw-r--r-- | docs/man/nng_stat.5.adoc | 2 | ||||
| -rw-r--r-- | docs/man/nng_stat_value.3.adoc | 4 | ||||
| -rw-r--r-- | docs/man/nng_stats_get.3.adoc | 2 |
3 files changed, 4 insertions, 4 deletions
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 -`<<nng_stat_timestamp.3#,nng_stat_timestap()>>`, which is useful for +`<<nng_stat_timestamp.3#,nng_stat_timestamp()>>`, 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 `<<nng_stat_type.3#,nng_stat_type()>>` 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 |
