aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/man/nng_aio_free.3.adoc2
-rw-r--r--docs/man/nng_aio_stop.3.adoc4
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/man/nng_aio_free.3.adoc b/docs/man/nng_aio_free.3.adoc
index a8c5f566..c2528633 100644
--- a/docs/man/nng_aio_free.3.adoc
+++ b/docs/man/nng_aio_free.3.adoc
@@ -32,7 +32,7 @@ that it is safe to deallocate the handle and any associated resources.
(This is done by implicitly calling xref:nng_aio_stop.3.adoc[`nng_aio_stop()`].)
The `nng_aio_reap()` function is the same as `nng_aio_free()`, but does
-it's work in a background thread.
+its work in a background thread.
This can be useful to discard the _aio_ object from within the callback for the _aio_.
IMPORTANT: Once either of these functions are called, the _aio_ object is invalid and must not be used again.
diff --git a/docs/man/nng_aio_stop.3.adoc b/docs/man/nng_aio_stop.3.adoc
index 94787272..2b70726b 100644
--- a/docs/man/nng_aio_stop.3.adoc
+++ b/docs/man/nng_aio_stop.3.adoc
@@ -26,7 +26,7 @@ void nng_aio_stop(nng_aio *aio);
The `nng_aio_stop()` function stops the asynchronous I/O operation
associated with _aio_ by aborting with `NNG_ECANCELED`, and then waits
-for it to complete or to be completely aborted, and for the any
+for it to complete or to be completely aborted, and for the
callback associated with the _aio_ to have completed executing.
Further calls to
@@ -38,7 +38,7 @@ pending for it.
TIP: When multiple asynchronous I/O handles are in use and need to be
shut down, it is safest to stop all of them, before deallocating any of
-this with xref:nng_aio_free.3.adoc[`nng_aio_free()`], particularly if the callbacks
+them with xref:nng_aio_free.3.adoc[`nng_aio_free()`], particularly if the callbacks
might attempt to reschedule additional operations.
== RETURN VALUES