annotate docs/ccguide/fread.refentry @ 573:d9ab3688bb71

All function prototypes are added.
author roug
date Fri, 01 Nov 2002 10:02:34 +0000
parents 253b6096ee01
children e50380625be6
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="fread">
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
2 <refnamediv>
570
253b6096ee01 All function prototypes are added.
roug
parents: 552
diff changeset
3 <refname>Fread</refname>
253b6096ee01 All function prototypes are added.
roug
parents: 552
diff changeset
4 <refname>Fwrite</refname>
253b6096ee01 All function prototypes are added.
roug
parents: 552
diff changeset
5 <refpurpose>read/write binary data</refpurpose>
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
6 </refnamediv>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
7
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
8 <refsynopsisdiv>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
9 <funcsynopsis>
468
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
10 <funcsynopsisinfo>
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
11 #include &lt;stdio.h&gt;
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
12 </funcsynopsisinfo>
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
13 <funcprototype>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
14 <funcdef><function>fread</function></funcdef>
570
253b6096ee01 All function prototypes are added.
roug
parents: 552
diff changeset
15 <paramdef>char *<parameter>ptr</parameter></paramdef>
253b6096ee01 All function prototypes are added.
roug
parents: 552
diff changeset
16 <paramdef>int <parameter>size</parameter></paramdef>
253b6096ee01 All function prototypes are added.
roug
parents: 552
diff changeset
17 <paramdef>int <parameter>number</parameter></paramdef>
253b6096ee01 All function prototypes are added.
roug
parents: 552
diff changeset
18 <paramdef>FILE *<parameter>fp</parameter></paramdef>
253b6096ee01 All function prototypes are added.
roug
parents: 552
diff changeset
19 </funcprototype>
253b6096ee01 All function prototypes are added.
roug
parents: 552
diff changeset
20
253b6096ee01 All function prototypes are added.
roug
parents: 552
diff changeset
21 <funcprototype>
253b6096ee01 All function prototypes are added.
roug
parents: 552
diff changeset
22 <funcdef><function>fwrite</function></funcdef>
253b6096ee01 All function prototypes are added.
roug
parents: 552
diff changeset
23 <paramdef>char *<parameter>ptr</parameter></paramdef>
253b6096ee01 All function prototypes are added.
roug
parents: 552
diff changeset
24 <paramdef>int <parameter>size</parameter></paramdef>
253b6096ee01 All function prototypes are added.
roug
parents: 552
diff changeset
25 <paramdef>int <parameter>number</parameter></paramdef>
253b6096ee01 All function prototypes are added.
roug
parents: 552
diff changeset
26 <paramdef>FILE *<parameter>fp</parameter></paramdef>
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
27 </funcprototype>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
28 </funcsynopsis>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
29
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
30 </refsynopsisdiv>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
31
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
32 <refsect1><title>Description</title>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
33 <para>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
34 Placeholder
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
35 </para>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
36 </refsect1>
552
fcb97f0ba24b All diagnostics added.
roug
parents: 542
diff changeset
37 <refsect1><title>Diagnostics</title>
fcb97f0ba24b All diagnostics added.
roug
parents: 542
diff changeset
38 <para>
fcb97f0ba24b All diagnostics added.
roug
parents: 542
diff changeset
39 Both functions return 0(NULL) at the end of file or error.
fcb97f0ba24b All diagnostics added.
roug
parents: 542
diff changeset
40 </para>
fcb97f0ba24b All diagnostics added.
roug
parents: 542
diff changeset
41 </refsect1>
542
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
42
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
43 <refsect1><title>See Also</title>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
44 <para>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
45 System calls
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
46 <link linkend="read">read()</link>,
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
47 <link linkend="write">write()</link>.
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
48 <link linkend="fopen">Fopen()</link>,
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
49 <link linkend="getc">getc()</link>,
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
50 <link linkend="putc">putc()</link>,
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
51 <link linkend="printf">printf()</link>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
52 </para>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
53 </refsect1>
73319ee6a57e All "See Also" implemented
roug
parents: 468
diff changeset
54
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
55 </refentry>