view docs/ccguide/chdir.refentry @ 3141:717ced83b885

coco3: Build SD card device descriptors for CoCo3FPGA Added "CC3FPGAFLAGS = $(AFLAGS) -DCC3FPGA=1 $(FLAGS)" to "level2/coco3/modules/makefile" for flagging Coco3FPGA specific features in modules sources. Added "llcoco3fpga", "ddsd0_coco3fpga", "sd0_coco3fpga", and "sd1_coco3fpga" to the "coco3/modules/makefile" - RBF section, which also now adds all to the "NITROS9/MODULES/RBF" on all disk images for building new Coco3FPGA disks from NitrOS9. Added new descriptor section to the "level2/coco3/modules/makefile" reflecting the new Coco3FPGA SD card descriptors and their flags.
author Bill Pierce <merlinious999@gmail.com>
date Sat, 04 Feb 2017 11:06:28 +0100
parents 986ff3d9f814
children
line wrap: on
line source

<refentry id="chdir">
<refnamediv>
<refname>Chdir</refname>
<refname>Chxdir</refname>
<refpurpose>change directory</refpurpose>
</refnamediv>

<refsynopsisdiv>
<funcsynopsis>
<funcprototype>
  <funcdef><function>chdir</function></funcdef>
  <paramdef>char *<parameter>dirname</parameter></paramdef>
</funcprototype>

<funcprototype>
  <funcdef><function>chxdir</function></funcdef>
  <paramdef>char *<parameter>dirname</parameter></paramdef>
</funcprototype>
</funcsynopsis>

</refsynopsisdiv>

<refsect1><title>Assembler Equivalent</title>
<para>
os9 I$CHGDIR
</para>
</refsect1>
<refsect1><title>Description</title>
<para>
These calls change the current data directory and the current
execution directory, respectively, for the running task.
"Dirname" is a pointer to a string that gives a pathname for
a directory.
</para>
</refsect1>
<refsect1><title>Diagnostics</title>
<para>
Each call returns 0 after a successful call, or -1 if "dirname"
is not a directory path name, or it is not searchable.
</para>
</refsect1>
<refsect1><title>See Also</title>
<para>
OS-9 shell commands "chd" and "chx".
</para>
</refsect1>
</refentry>