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

Several functions ready.
author roug
date Thu, 31 Oct 2002 22:05:32 +0000
parents 73319ee6a57e
children e43a77fddcbd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
1 <refentry id="pause">
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
2 <refnamediv>
468
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
3 <refname>Pause</refname>
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
4 <refpurpose>halt and wait for interrupt</refpurpose>
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
5 </refnamediv>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
6
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
7 <refsynopsisdiv>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
8 <funcsynopsis>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
9 <funcprototype>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
10 <funcdef><function>pause</function></funcdef>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
11 <paramdef>type <parameter>arg1</parameter></paramdef>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
12 </funcprototype>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
13 </funcsynopsis>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
14
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
15 </refsynopsisdiv>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
16
542
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
17 <refsect1><title>Assembler Equivalent</title>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
18 <para>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
19 os9 I$SLEEP (with a value of 0)
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
20 </para>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
21 </refsect1>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
22
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
23 <refsect1><title>Description</title>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
24 <para>
569
3cd7606d9c7b Several functions ready.
roug
parents: 542
diff changeset
25 Pause may be used to halt a task until an interrupt is received
3cd7606d9c7b Several functions ready.
roug
parents: 542
diff changeset
26 from "kill".
3cd7606d9c7b Several functions ready.
roug
parents: 542
diff changeset
27 </para>
3cd7606d9c7b Several functions ready.
roug
parents: 542
diff changeset
28 <para>
3cd7606d9c7b Several functions ready.
roug
parents: 542
diff changeset
29 Pause always returns -1.
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
30 </para>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
31 </refsect1>
542
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
32
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
33 <refsect1><title>See Also</title>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
34 <para>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
35 <link linkend="kill">kill()</link>,
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
36 <link linkend="signal">signal()</link>,
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
37 OS-9 shell command "kill"
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
38 </para>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
39 </refsect1>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
40
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
41 </refentry>