view docs/ccguide/pause.refentry @ 569:3cd7606d9c7b

Several functions ready.
author roug
date Thu, 31 Oct 2002 22:05:32 +0000
parents 73319ee6a57e
children e43a77fddcbd
line wrap: on
line source

<refentry id="pause">
<refnamediv>
<refname>Pause</refname>
<refpurpose>halt and wait for interrupt</refpurpose>
</refnamediv>

<refsynopsisdiv>
<funcsynopsis>
<funcprototype>
  <funcdef><function>pause</function></funcdef>
  <paramdef>type <parameter>arg1</parameter></paramdef>
</funcprototype>
</funcsynopsis>

</refsynopsisdiv>

<refsect1><title>Assembler Equivalent</title>
<para>
os9 I$SLEEP (with a value of 0)
</para>
</refsect1>

<refsect1><title>Description</title>
<para>
Pause may be used to halt a task until an interrupt is received
from "kill".
</para>
<para>
Pause always returns -1.
</para>
</refsect1>

<refsect1><title>See Also</title>
<para>
<link linkend="kill">kill()</link>,
<link linkend="signal">signal()</link>,
OS-9 shell command "kill"
</para>
</refsect1>

</refentry>