diff docs/ccguide/defdrive.refentry @ 552:fcb97f0ba24b

All diagnostics added.
author roug
date Wed, 16 Oct 2002 20:02:31 +0000
parents 60b821f18853
children 1e1552ce8388
line wrap: on
line diff
--- a/docs/ccguide/defdrive.refentry	Wed Oct 16 20:02:22 2002 +0000
+++ b/docs/ccguide/defdrive.refentry	Wed Oct 16 20:02:31 2002 +0000
@@ -7,8 +7,8 @@
 <refsynopsisdiv>
 <funcsynopsis>
 <funcprototype>
-  <funcdef><function>defdrive</function></funcdef>
-  <paramdef>type <parameter>arg1</parameter></paramdef>
+  <funcdef>char *<function>defdrive</function></funcdef>
+  <void>
 </funcprototype>
 </funcsynopsis>
 
@@ -16,7 +16,18 @@
 
 <refsect1><title>Description</title>
 <para>
-Placeholder
+A call to defdrive returns a pointer to a string containing the
+name of the default system drive. The method used is to
+consult the "Init" module for the default directory name. The
+name is copied to a static data area and a pointer to it is
+returned.
 </para>
 </refsect1>
+
+<refsect1><title>Diagnostics</title>
+<para>
+-1 is returned if the "Init" module cannot be linked to.
+</para>
+</refsect1>
+
 </refentry>