changeset 574:c49be44efba2

All function prototypes are added.
author roug
date Fri, 01 Nov 2002 10:02:34 +0000
parents d9ab3688bb71
children 10b50f909a23
files docs/ccguide/read.refentry docs/ccguide/sbrk.refentry docs/ccguide/scanf.refentry
diffstat 3 files changed, 38 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/docs/ccguide/read.refentry	Fri Nov 01 10:02:34 2002 +0000
+++ b/docs/ccguide/read.refentry	Fri Nov 01 10:02:34 2002 +0000
@@ -1,6 +1,7 @@
 <refentry id="read">
 <refnamediv>
 <refname>Read</refname>
+<refname>Readln</refname>
 <refpurpose>read from a file</refpurpose>
 </refnamediv>
 
@@ -8,7 +9,15 @@
 <funcsynopsis>
 <funcprototype>
   <funcdef><function>read</function></funcdef>
-  <paramdef>type <parameter>arg1</parameter></paramdef>
+  <paramdef>int <parameter>pn</parameter></paramdef>
+  <paramdef>char *<parameter>buffer</parameter></paramdef>
+  <paramdef>int <parameter>count</parameter></paramdef>
+</funcprototype>
+<funcprototype>
+  <funcdef><function>readln</function></funcdef>
+  <paramdef>int <parameter>pn</parameter></paramdef>
+  <paramdef>char *<parameter>buffer</parameter></paramdef>
+  <paramdef>int <parameter>count</parameter></paramdef>
 </funcprototype>
 </funcsynopsis>
 
--- a/docs/ccguide/sbrk.refentry	Fri Nov 01 10:02:34 2002 +0000
+++ b/docs/ccguide/sbrk.refentry	Fri Nov 01 10:02:34 2002 +0000
@@ -1,14 +1,19 @@
 <refentry id="sbrk">
 <refnamediv>
 <refname>Sbrk</refname>
+<refname>Ibrk</refname>
 <refpurpose>request additional working memory</refpurpose>
 </refnamediv>
 
 <refsynopsisdiv>
 <funcsynopsis>
 <funcprototype>
-  <funcdef><function>sbrk</function></funcdef>
-  <paramdef>type <parameter>arg1</parameter></paramdef>
+  <funcdef>char *<function>sbrk</function></funcdef>
+  <paramdef>int <parameter>increase</parameter></paramdef>
+</funcprototype>
+<funcprototype>
+  <funcdef>char *<function>ibrk</function></funcdef>
+  <paramdef>int <parameter>increase</parameter></paramdef>
 </funcprototype>
 </funcsynopsis>
 
--- a/docs/ccguide/scanf.refentry	Fri Nov 01 10:02:34 2002 +0000
+++ b/docs/ccguide/scanf.refentry	Fri Nov 01 10:02:34 2002 +0000
@@ -1,7 +1,9 @@
 <refentry id="scanf">
 <refnamediv>
-<refname>scanf</refname>
-<refpurpose>Placeholder</refpurpose>
+<refname>Scanf</refname>
+<refname>Fscanf</refname>
+<refname>Sscanf</refname>
+<refpurpose>input string interpretation</refpurpose>
 </refnamediv>
 
 <refsynopsisdiv>
@@ -10,9 +12,25 @@
 #include &lt;stdio.h&gt;
 </funcsynopsisinfo>
 <funcprototype>
+  <funcdef><function>fscanf</function></funcdef>
+  <paramdef>FILE *<parameter>fp</parameter></paramdef>
+  <paramdef>char *<parameter>control</parameter></paramdef>
+  <paramdef>char *<parameter>pointer...</parameter></paramdef>
+</funcprototype>
+
+<funcprototype>
   <funcdef><function>scanf</function></funcdef>
-  <paramdef>type <parameter>arg1</parameter></paramdef>
+  <paramdef>char *<parameter>control</parameter></paramdef>
+  <paramdef>char *<parameter>pointer...</parameter></paramdef>
 </funcprototype>
+
+<funcprototype>
+  <funcdef><function>sscanf</function></funcdef>
+  <paramdef>char *<parameter>string</parameter></paramdef>
+  <paramdef>char *<parameter>control</parameter></paramdef>
+  <paramdef>char *<parameter>pointer...</parameter></paramdef>
+</funcprototype>
+
 </funcsynopsis>
 
 </refsynopsisdiv>