diff options
| author | mochalins <117967760+mochalins@users.noreply.github.com> | 2025-05-23 17:02:52 +0900 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-06-02 07:24:06 -0700 |
| commit | 4e1ffdca6d97c1bddc460835c94b16bc64284861 (patch) | |
| tree | 80c27b0e509c8d7001619af27a33794f4bcad3c4 /docs/ref/api/stats.md | |
| parent | 1323aece0712522ccb2bf432b5085889a3513fa8 (diff) | |
| download | nng-4e1ffdca6d97c1bddc460835c94b16bc64284861.tar.gz nng-4e1ffdca6d97c1bddc460835c94b16bc64284861.tar.bz2 nng-4e1ffdca6d97c1bddc460835c94b16bc64284861.zip | |
Fix typos across docs, comments, and CMake
Diffstat (limited to 'docs/ref/api/stats.md')
| -rw-r--r-- | docs/ref/api/stats.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/api/stats.md b/docs/ref/api/stats.md index 1720f605..b2a01d8e 100644 --- a/docs/ref/api/stats.md +++ b/docs/ref/api/stats.md @@ -81,7 +81,7 @@ const nng_stat *nng_stat_find_socket(const nng_stat *stat, nng_dialer socket); ``` Sometimes it is easiest to search for a specific statistic, matching by name, -or possibly to find the tree of statistics associated iwth a specific [socket], +or possibly to find the tree of statistics associated with a specific [socket], [dialer], or [listener]. The `nng_stat_find` functions are provided for this purpose. @@ -129,7 +129,7 @@ function can be used to obtain that value. The units will be given by the value returned from [`nng_stat_unit`]. - {{i:`NNG_STAT_LEVEL`}}: <a name="NNG_STAT_LEVEL"></a> - The statistic represnts a measured value which corresponds + The statistic represents a measured value which corresponds to a specific value at a specific time. For example, this may represent the number of messages currently queued for some operation, or the link speed of a network interface. Most often the absolute value is more interesting @@ -170,7 +170,7 @@ The {{i:`nng_stat_bool`}} function returns the Boolean value (either `true` or ` type [`NNG_STAT_BOOLEAN`]. If the statistics is not of this type, then it returns `false`. The {{i:`nng_stat_string`}} function returns a pointer to a string value for the statistic _stat_, -of type [`NNG_STAT_STRING`]. This string will remain valud until the snapshot that +of type [`NNG_STAT_STRING`]. This string will remain valid until the snapshot that _stat_ was collected with is deallocated with [`nng_stats_free`]. If the statistic is not of type `NNG_STAT_STRING`, then `NULL` is returned. |
