view docs/ccguide/sleep.refentry @ 3295:6b7a7b233925 default tip

makefile: Allow PORTS with level1/2 mix https://sourceforge.net/p/nitros9/feature-requests/10/
author Tormod Volden <debian.tormod@gmail.com>
date Tue, 19 Apr 2022 18:12:17 +0200
parents 57b5e715a417
children
line wrap: on
line source

<refentry id="sleep">
<refnamediv>
<refname>Sleep</refname>
<refpurpose>stop execution for a time</refpurpose>
</refnamediv>

<refsynopsisdiv>
<funcsynopsis>
<funcprototype>
  <funcdef><function>sleep</function></funcdef>
  <paramdef>int <parameter>seconds</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>

<refsect1><title>Description</title>
<para>
The current task is stopped for the specified time.
</para>
<para>
If "seconds" is zero, the task will sleep for one tick.
</para>
</refsect1>
</refentry>