Mercurial > hg > Members > kono > nitros9-code
diff docs/ccguide/chdir.refentry @ 472:f0c8d53e5a50
entered: chdir chmod qsort strass toupper tsleep wait
author | roug |
---|---|
date | Sun, 06 Oct 2002 09:10:36 +0000 |
parents | 60b821f18853 |
children | 986ff3d9f814 |
line wrap: on
line diff
--- a/docs/ccguide/chdir.refentry Sat Oct 05 16:53:43 2002 +0000 +++ b/docs/ccguide/chdir.refentry Sun Oct 06 09:10:36 2002 +0000 @@ -9,15 +9,39 @@ <funcsynopsis> <funcprototype> <funcdef><function>chdir</function></funcdef> - <paramdef>type <parameter>arg1</parameter></paramdef> + <paramdef>char *<parameter>dirname</parameter></paramdef> +</funcprototype> + +<funcprototype> + <funcdef><function>cxdir</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> -Placeholder +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>