annotate docs/ccguide/scanf.refentry @ 570:253b6096ee01

All function prototypes are added.
author roug
date Fri, 01 Nov 2002 10:02:34 +0000
parents fcb97f0ba24b
children c49be44efba2
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="scanf">
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>scanf</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>scanf</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>Diagnostics</title>
fcb97f0ba24b All diagnostics added.
roug
parents: 542
diff changeset
27 <para>
fcb97f0ba24b All diagnostics added.
roug
parents: 542
diff changeset
28 These functions return EOF on end of input or error and a count
fcb97f0ba24b All diagnostics added.
roug
parents: 542
diff changeset
29 which is shorter than expected for unexpected or unmatched
fcb97f0ba24b All diagnostics added.
roug
parents: 542
diff changeset
30 items.
fcb97f0ba24b All diagnostics added.
roug
parents: 542
diff changeset
31 </para>
fcb97f0ba24b All diagnostics added.
roug
parents: 542
diff changeset
32 </refsect1>
fcb97f0ba24b All diagnostics added.
roug
parents: 542
diff changeset
33
542
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
34 <refsect1><title>See Also</title>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
35 <para>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
36 <link linkend="atof">atoi(), atof()</link>,
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
37 <link linkend="getc">getc()</link>,
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
38 <link linkend="printf">printf()</link>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
39 Kernighan and Ritchie pp 147-150
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
40 </para>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
41 </refsect1>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
42
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
43 </refentry>