view docs/ccguide/system.refentry @ 3220:9ccec98c9897

Updated IDE Driver makefile so it will have place holders for dsk, dskclean, and dskcopy so that make does not error out when chaining into the driver tree to build disk images where applicable.
author David Ladd <drencor-xeen@users.sourceforge.net>
date Wed, 20 Dec 2017 16:10:50 -0600
parents 32f33a35f57a
children
line wrap: on
line source

<refentry id="system">
<refnamediv>
<refname>System</refname>
<refpurpose>shell command interpreter</refpurpose>
</refnamediv>

<refsynopsisdiv>
<funcsynopsis>
<funcprototype>
  <funcdef><function>system</function></funcdef>
  <paramdef>char *<parameter>string</parameter></paramdef>
</funcprototype>
</funcsynopsis>

</refsynopsisdiv>

<refsect1><title>Description</title>
<para>
System passes its argument to "shell" which executes it as a
command line. The task is suspended until the shell command
is completed and system returns the shell's exit status. The
maximum length of string is 80 characters. If a longer string
is needed, use os9fork.
</para>
</refsect1>
<refsect1><title>See Also</title>
<para>
System calls
<link linkend="os9fork">os9fork()</link>,
<link linkend="wait">wait()</link>.
</para>
</refsect1>
</refentry>