comparison docs/ccguide/gets.refentry @ 570:253b6096ee01

All function prototypes are added.
author roug
date Fri, 01 Nov 2002 10:02:34 +0000
parents fcb97f0ba24b
children a74b8d8c28db
comparison
equal deleted inserted replaced
569:3cd7606d9c7b 570:253b6096ee01
1 <refentry id="gets"> 1 <refentry id="gets">
2 <refnamediv> 2 <refnamediv>
3 <refname>gets</refname> 3 <refname>Gets</refname>
4 <refpurpose>Placeholder</refpurpose> 4 <refname>Fgets</refname>
5 <refpurpose>input a string</refpurpose>
5 </refnamediv> 6 </refnamediv>
6 7
7 <refsynopsisdiv> 8 <refsynopsisdiv>
8 <funcsynopsis> 9 <funcsynopsis>
9 <funcsynopsisinfo> 10 <funcsynopsisinfo>
10 #include &lt;stdio.h&gt; 11 #include &lt;stdio.h&gt;
11 </funcsynopsisinfo> 12 </funcsynopsisinfo>
12 <funcprototype> 13 <funcprototype>
13 <funcdef><function>gets</function></funcdef> 14 <funcdef>char *<function>gets</function></funcdef>
14 <paramdef>type <parameter>arg1</parameter></paramdef> 15 <paramdef>char *<parameter>s</parameter></paramdef>
16 </funcprototype>
17
18 <funcprototype>
19 <funcdef>char *<function>fgets</function></funcdef>
20 <paramdef>char *<parameter>s</parameter></paramdef>
21 <paramdef>int <parameter>n</parameter></paramdef>
22 <paramdef>FILE *<parameter>fp</parameter></paramdef>
15 </funcprototype> 23 </funcprototype>
16 </funcsynopsis> 24 </funcsynopsis>
17 25
18 </refsynopsisdiv> 26 </refsynopsisdiv>
19 27