|
|
1.1 root 1:
2:
3: fread() STDIO Function fread()
4:
5:
6:
7:
8: Read data from file stream
9:
10: #include <stdio.h>
11: iinntt ffrreeaadd(_b_u_f_f_e_r, _s_i_z_e, _n, _f_p)
12: cchhaarr *_b_u_f_f_e_r; uunnssiiggnneedd _s_i_z_e, _n; FFIILLEE *_f_p;
13:
14: fread reads n items, each being size bytes long, from file stream
15: fp into buffer.
16:
17: ***** Example *****
18:
19: For an example of how to use this function, see the entry for
20: fopen.
21:
22: ***** See Also *****
23:
24: fwrite(), STDIO
25:
26: ***** Diagnostics *****
27:
28: fread returns zero upon reading EOF or on error; otherwise, it
29: returns the number of items read.
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.