* better
[mascara-docs.git] / lang / C / the.ansi.c.programming.language / c.programming.notes.int / sx2.html
blob12c8340e94cd93222cef3f79a53a1d815c5c3798
1 <!DOCTYPE HTML PUBLIC "-//W3O//DTD W3 HTML 2.0//EN">
2 <!-- This collection of hypertext pages is Copyright 1995-7 by Steve Summit. -->
3 <!-- This material may be freely redistributed and used -->
4 <!-- but may not be republished or sold without permission. -->
5 <html>
6 <head>
7 <link rev="owner" href="mailto:scs@eskimo.com">
8 <link rev="made" href="mailto:scs@eskimo.com">
9 <title>Chapter 16: The Standard I/O (stdio) Library</title>
10 <link href="sx1e.html" rev=precedes>
11 <link href="sx2a.html" rel=precedes>
12 <link href="top.html" rev=subdocument>
13 </head>
14 <body>
15 <H1>Chapter 16: The Standard I/O (stdio) Library</H1>
17 <p>In
19 chapter 12,
20 we met several of the functions in C's Standard I/O library
21 (often called <TT>stdio</TT>,
22 sometimes pronounced ``studio'',
23 named after the header file <TT>&lt;stdio.h&gt;</TT>
24 which declares its routines).
25 In this chapter,
26 we'll describe most of the functions and other facilities
27 available in <TT>&lt;stdio.h&gt;</TT>,
28 and explain how they're useful.
29 </p><p>(Note:
30 this is an uncharacteristically long and complete chapter.
31 It tries to describe just about <em>all</em> of the Standard I/O library,
32 including features you aren't likely to be using for a while.
33 Don't feel you have to understand every word in this
34 chapter--when
35 you get to an obscure part,
36 just skim through it to get an idea of what's available,
37 and come back and read it again as you have occasion to use the feature.)
38 </p><p><a href="sx2a.html" rel=subdocument>16.1: Files and Streams</a></p>
39 <p><a href="sx2b.html" rel=subdocument>16.2: Opening and Closing Files
40 (<TT>fopen</TT>, <TT>fclose</TT>, etc.)</a></p>
41 <p><a href="sx2c.html" rel=subdocument>16.3: Character Input and Output
42 (<TT>getchar</TT>, <TT>putchar</TT>, etc.)</a></p>
43 <p><a href="sx2d.html" rel=subdocument>16.4: Line Input and Output
44 (<TT>fgets</TT>, <TT>fputs</TT>, etc.)</a></p>
45 <p><a href="sx2e.html" rel=subdocument>16.5: Formatted Output
46 (<TT>printf</TT> and friends)</a></p>
47 <p><a href="sx2f.html" rel=subdocument>16.6: Formatted Input (<TT>scanf</TT>)</a></p>
48 <p><a href="sx2g.html" rel=subdocument>16.7: Arbitrary Input and Output
49 (<TT>fread</TT>, <TT>fwrite</TT>)</a></p>
50 <p><a href="sx2h.html" rel=subdocument>16.8: <TT>EOF</TT> and Errors</a></p>
51 <p><a href="sx2i.html" rel=subdocument>16.9: Random Access
52 (<TT>fseek</TT>, <TT>ftell</TT>, etc.)</a></p>
53 <p><a href="sx2j.html" rel=subdocument>16.10: File Operations
54 (<TT>remove</TT>, <TT>rename</TT>, etc.)</a></p>
55 <p><a href="sx2k.html" rel=subdocument>16.11: Redirection (<TT>freopen</TT>)</a></p>
56 <hr>
57 <p>
58 Read sequentially:
59 <a href="sx1e.html" rev=precedes>prev</a>
60 <a href="sx2a.html" rel=precedes>next</a>
61 <a href="top.html" rev=subdocument>up</a>
62 <a href="top.html">top</a>
63 </p>
64 <p>
65 This page by <a href="http://www.eskimo.com/~scs/">Steve Summit</a>
66 // <a href="copyright.html">Copyright</a> 1996-1999
67 // <a href="mailto:scs@eskimo.com">mail feedback</a>
68 </p>
69 </body>
70 </html>