|
|
1.1 root 1:
2:
3: EOF Definition EOF
4:
5:
6:
7:
8: Indicate end of a file
9:
10: #include <stdio.h>
11:
12: EOF is an indicator that is returned by several STDIO functions
13: to indicate that the current file position is the end of the
14: file.
15:
16: Many STDIO functions, when they read EOF, set the end-of-file in-
17: dicator that is associated with the stream being read. Before
18: more data can be read from the stream, its end-of-file indicator
19: must be cleared. Resetting the file-position indicator with the
20: functions fseek, fsetpos, or ftell will clear the indicator, as
21: will returning a character to the stream with the function un-
22: getc.
23:
24: ***** See Also *****
25:
26: file, stream, STDIO, stdio.h
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.