diff options
| author | gdamore <gdamore@users.noreply.github.com> | 2025-01-13 00:34:40 +0000 |
|---|---|---|
| committer | gdamore <gdamore@users.noreply.github.com> | 2025-01-13 00:34:40 +0000 |
| commit | b163d078fcb3e40ad3f047f42326e9267bc4da50 (patch) | |
| tree | 950101e5901f3581b9c9b3d2e60db9b1cb1c55ac /ref/api/aio.html | |
| parent | 8fd15db0525b4b30a328fd458d05384e2891f49d (diff) | |
| download | nng-b163d078fcb3e40ad3f047f42326e9267bc4da50.tar.gz nng-b163d078fcb3e40ad3f047f42326e9267bc4da50.tar.bz2 nng-b163d078fcb3e40ad3f047f42326e9267bc4da50.zip | |
deploy: 1b1f4609c6dad724b88dfb069b2260341e582906
Diffstat (limited to 'ref/api/aio.html')
| -rw-r--r-- | ref/api/aio.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ref/api/aio.html b/ref/api/aio.html index 371ed269..1ce6258e 100644 --- a/ref/api/aio.html +++ b/ref/api/aio.html @@ -295,7 +295,7 @@ is safe to call from <em>aio</em>’s own callback.</p> Use <code>nng_aio_reap</code> instead if an object must be destroyed from a callback.</p> </div> <h2 id="cancellation"><a class="header" href="#cancellation">Cancellation</a></h2> -<pre><code class="language-c">void nng_aio_abort(nng_aio *aio, int err); +<pre><code class="language-c">void nng_aio_abort(nng_aio *aio, nng_err err); void nng_aio_cancel(nng_aio *aio); void nng_aio_stop(nng_aio *aio); </code></pre> @@ -373,7 +373,7 @@ This is the same test used internally by <a href="/api/aio.html#wait-for-complet Because the <em>aio</em> can be reused use of this function can be racy.</p> </div> <h2 id="result-of-operation"><a class="header" href="#result-of-operation">Result of Operation</a></h2> -<pre><code class="language-c">int nng_aio_result(nng_aio *aio); +<pre><code class="language-c">nng_err nng_aio_result(nng_aio *aio); size_t nng_aio_count(nng_aio *aio); </code></pre> <p>The <a name="a016"></a><code>nng_aio_result</code> function returns the result of the operation associated |
