diff options
| author | Jake Woltersdorf <jake@playruyi.com> | 2019-01-08 18:31:19 +0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2019-01-15 06:56:13 -0800 |
| commit | 82afec95496fd2e4b8fb404aa90e961f93db1fe8 (patch) | |
| tree | c5d99268e8b748b1e70c6c5a12b9b5839c069289 | |
| parent | d0a26bbd1caf3de2132855d7936fed8ac1f1488c (diff) | |
| download | nng-82afec95496fd2e4b8fb404aa90e961f93db1fe8.tar.gz nng-82afec95496fd2e4b8fb404aa90e961f93db1fe8.tar.bz2 nng-82afec95496fd2e4b8fb404aa90e961f93db1fe8.zip | |
fixes typos in stat man pages
| -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 |
