From 3e0ecffbd60ac2a6f50643adc07b0d2fea0cb22b Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 30 May 2018 18:10:59 -0700 Subject: 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. --- docs/man/nng_strdup.3.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/man/nng_strdup.3.adoc') diff --git a/docs/man/nng_strdup.3.adoc b/docs/man/nng_strdup.3.adoc index 24a56ada..9c2eda4f 100644 --- a/docs/man/nng_strdup.3.adoc +++ b/docs/man/nng_strdup.3.adoc @@ -26,7 +26,7 @@ char *nng_strdup(const char *src); The `nng_strdup()` duplicates the string _src_ and returns it. -This is logically equiavlent to using `<>` +This is logically equivalent to using `<>` to allocate a region of memory of `strlen(s) + 1` bytes, and then using `strcpy()` to copy the string into the destination before returning it. -- cgit v1.2.3-70-g09d2