annotate docs/ccguide/system.refentry @ 529:871ccf549428

Finished these entries
author roug
date Fri, 11 Oct 2002 19:11:01 +0000
parents bea58398bb15
children 32f33a35f57a
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="system">
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
2 <refnamediv>
529
871ccf549428 Finished these entries
roug
parents: 466
diff changeset
3 <refname>System</refname>
871ccf549428 Finished these entries
roug
parents: 466
diff changeset
4 <refpurpose>shell command interpreter</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>system</function></funcdef>
529
871ccf549428 Finished these entries
roug
parents: 466
diff changeset
11 <paramdef>char *<parameter>string</parameter></paramdef>
466
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
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
17 <refsect1><title>Description</title>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
18 <para>
529
871ccf549428 Finished these entries
roug
parents: 466
diff changeset
19 System passes its argument to "shell" which executes it as a
871ccf549428 Finished these entries
roug
parents: 466
diff changeset
20 command line. The task is suspended until the shell command
871ccf549428 Finished these entries
roug
parents: 466
diff changeset
21 is completed and system returns the shell's exit status. The
871ccf549428 Finished these entries
roug
parents: 466
diff changeset
22 maximum length of string is 80 characters. If a longer string
871ccf549428 Finished these entries
roug
parents: 466
diff changeset
23 is needed, use os9fork.
871ccf549428 Finished these entries
roug
parents: 466
diff changeset
24 </para>
871ccf549428 Finished these entries
roug
parents: 466
diff changeset
25 </refsect1>
871ccf549428 Finished these entries
roug
parents: 466
diff changeset
26 <refsect1><title>See Also</title>
871ccf549428 Finished these entries
roug
parents: 466
diff changeset
27 <para>
871ccf549428 Finished these entries
roug
parents: 466
diff changeset
28 System calls "os9fork()","wait()".
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
29 </para>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
30 </refsect1>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
31 </refentry>