annotate docs/ccguide/gets.refentry @ 552:fcb97f0ba24b

All diagnostics added.
author roug
date Wed, 16 Oct 2002 20:02:31 +0000
parents 73319ee6a57e
children 253b6096ee01
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
1 <refentry id="gets">
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
2 <refnamediv>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
3 <refname>gets</refname>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
4 <refpurpose>Placeholder</refpurpose>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
5 </refnamediv>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
6
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
7 <refsynopsisdiv>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
8 <funcsynopsis>
468
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
9 <funcsynopsisinfo>
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
10 #include &lt;stdio.h&gt;
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
11 </funcsynopsisinfo>
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
12 <funcprototype>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
13 <funcdef><function>gets</function></funcdef>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
14 <paramdef>type <parameter>arg1</parameter></paramdef>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
15 </funcprototype>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
16 </funcsynopsis>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
17
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
18 </refsynopsisdiv>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
19
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
20 <refsect1><title>Description</title>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
21 <para>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
22 Placeholder
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
23 </para>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
24 </refsect1>
542
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
25
552
fcb97f0ba24b All diagnostics added.
roug
parents: 542
diff changeset
26 <refsect1><title>Caveats</title>
fcb97f0ba24b All diagnostics added.
roug
parents: 542
diff changeset
27 <para>
fcb97f0ba24b All diagnostics added.
roug
parents: 542
diff changeset
28 The different treatment of the "\n" by these functions is
fcb97f0ba24b All diagnostics added.
roug
parents: 542
diff changeset
29 retained here for portability reasons.
fcb97f0ba24b All diagnostics added.
roug
parents: 542
diff changeset
30 </para>
fcb97f0ba24b All diagnostics added.
roug
parents: 542
diff changeset
31 </refsect1>
fcb97f0ba24b All diagnostics added.
roug
parents: 542
diff changeset
32
fcb97f0ba24b All diagnostics added.
roug
parents: 542
diff changeset
33 <refsect1><title>Diagnostics</title>
fcb97f0ba24b All diagnostics added.
roug
parents: 542
diff changeset
34 <para>
fcb97f0ba24b All diagnostics added.
roug
parents: 542
diff changeset
35 Both functions return NULL on end-of-file or error.
fcb97f0ba24b All diagnostics added.
roug
parents: 542
diff changeset
36 </para>
fcb97f0ba24b All diagnostics added.
roug
parents: 542
diff changeset
37 </refsect1>
fcb97f0ba24b All diagnostics added.
roug
parents: 542
diff changeset
38
542
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
39 <refsect1><title>See Also</title>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
40 <para>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
41 <link linkend="puts">puts()</link>,
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
42 <link linkend="getc">getc()</link>,
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
43 <link linkend="scanf">scanf()</link>,
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
44 <link linkend="fread">fread()</link>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
45 </para>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
46 </refsect1>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
47
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
48 </refentry>