aboutsummaryrefslogtreecommitdiff
path: root/docs/man/nng_getopt.3.adoc
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-05-30 18:10:59 -0700
committerGarrett D'Amore <garrett@damore.org>2018-05-30 18:10:59 -0700
commit3e0ecffbd60ac2a6f50643adc07b0d2fea0cb22b (patch)
tree64d829e2f4a860ace29442833e9da1abf70f3a2c /docs/man/nng_getopt.3.adoc
parentb2338c1a6d1e57f01396a8e77c65734cb2f0ae17 (diff)
downloadnng-3e0ecffbd60ac2a6f50643adc07b0d2fea0cb22b.tar.gz
nng-3e0ecffbd60ac2a6f50643adc07b0d2fea0cb22b.tar.bz2
nng-3e0ecffbd60ac2a6f50643adc07b0d2fea0cb22b.zip
Fix numerous spelling errrors.
These were found with the help of "aspell". Additionally, while reviewing the output from the spell checker, several content errors were noticed and fixed.
Diffstat (limited to 'docs/man/nng_getopt.3.adoc')
-rw-r--r--docs/man/nng_getopt.3.adoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/man/nng_getopt.3.adoc b/docs/man/nng_getopt.3.adoc
index 4d6ae868..1117d72b 100644
--- a/docs/man/nng_getopt.3.adoc
+++ b/docs/man/nng_getopt.3.adoc
@@ -65,10 +65,10 @@ _valszp_.
When the function returns, the actual size of the data copied (or that
would have been copied if sufficient space were present) is stored at
-the location referened by _valszp_.
+the location referenced by _valszp_.
If the caller's buffer is not large enough to hold the entire object,
then the copy is truncated.
-Therefore the caller should check for truncation by verifyng that the
+Therefore the caller should check for truncation by verifying that the
returned size in _valszp_ does not exceed the original buffer size.
It is acceptable to pass `NULL` for _val_ if the value in _valszp_ is zero.
@@ -76,7 +76,7 @@ This can be used to determine the size of the buffer needed to receive
the object.
==== `nng_getopt_bool()`
-This function is for options which take a boolean (`bool`).
+This function is for options which take a Boolean (`bool`).
The value will be stored at _ivalp_.
==== `nng_getopt_int()`