summaryrefslogtreecommitdiff
path: root/ref/api/time.html
diff options
context:
space:
mode:
authorgdamore <gdamore@users.noreply.github.com>2024-10-27 19:43:14 +0000
committergdamore <gdamore@users.noreply.github.com>2024-10-27 19:43:14 +0000
commit6096172cf3630dbc5366a85fe89fb361b4f40fae (patch)
tree270a8a6f0b7ff72fe3e6cbf9959ee28b284ae2b1 /ref/api/time.html
parent45ac4fa56b6e5c31a28fd08eaad14a09bf3934f6 (diff)
downloadnng-6096172cf3630dbc5366a85fe89fb361b4f40fae.tar.gz
nng-6096172cf3630dbc5366a85fe89fb361b4f40fae.tar.bz2
nng-6096172cf3630dbc5366a85fe89fb361b4f40fae.zip
deploy: c699588c5e68880b8fd890711a4f7cca2b49a0bc
Diffstat (limited to 'ref/api/time.html')
-rw-r--r--ref/api/time.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/ref/api/time.html b/ref/api/time.html
index f3bf9685..43a52fb6 100644
--- a/ref/api/time.html
+++ b/ref/api/time.html
@@ -304,18 +304,18 @@ underlying system.</p>
<h2 id="wait-asynchronously"><a class="header" href="#wait-asynchronously">Wait Asynchronously</a></h2>
<pre><code class="language-c">void nng_sleep_aio(nng_duration msec, nng_aio *aio);
</code></pre>
-<p>It is possible to wait as the action on an <a href="/TODO.html"><code>nng_aio</code></a>, which in effect
+<p>It is possible to wait as the action on an <a href="/api/aio.html#asynchronous-io-handle"><code>nng_aio</code></a>, which in effect
acts like <a name="a010"></a>scheduling a callback to run after a specified period of time.</p>
<p>The <a name="a011"></a><code>nng_sleep_aio</code> function provides this capability.
After <em>msec</em> milliseconds have passed, then <em>aio</em>’s callback will be executed.
If this sleep waits without interruption, and then completes, the result from
-<a href="/api/api.html#result-of-operation"><code>nng_aio_result</code></a> will be zero.</p>
+<a href="/api/aio.html#result-of-operation"><code>nng_aio_result</code></a> will be zero.</p>
<div class="mdbook-alerts mdbook-alerts-note">
<p class="mdbook-alerts-title">
<span class="mdbook-alerts-icon"></span>
note
</p>
-<p>If a timeout shorter than <em>msec</em> is set on <em>aio</em> using <a href="/TODO.html"><code>nng_aio_set_timeout</code></a>,
+<p>If a timeout shorter than <em>msec</em> is set on <em>aio</em> using <a href="/api/aio.html#set-timeout"><code>nng_aio_set_timeout</code></a>,
then the sleep will wake up early, with a result code of <a href="/api/errors.html#NNG_ETIMEDOUT"><code>NNG_ETIMEDOUT</code></a>.</p>
</div>
<h2 id="see-also"><a class="header" href="#see-also">See Also</a></h2>