:pserver:cvsanon@mok.lvcm.com:/CVS/ReactOS reactos
[reactos.git] / lib / crtdll / stdio / FILE.DOC
1 meaning of struct FILE* members
2
3 int   _cnt;
4
5 W: number of empty slots left in the buffer.
6 R: number of characters left in the buffer.
7
8 char *_ptr;
9
10 pointer inside the buffer we're using.
11 R: points to next character to read out.
12 W: points to next cell to put character in.
13
14 char *_base;
15
16 pointer to the start of the buffer we're using.
17
18 int   _bufsiz;
19
20 size of the buffer
21
22 int   _flag;
23
24 _IORW           file is used for both read and write
25 _IOWRT  file is opened for write
26 _IOREAD file is opened for read
27 _IOMYBUF        buffer needs to be freed
28 _IOEOF  file is at EOF
29 _IOERR  error occurred
30 _IOSTRG sprintf
31 _IOAPPEND       append mode
32 _IORMONCL       remove file on close
33 _IOUNGETC   buffer contents does not correspond to file
34
35 int   _file;
36
37 dos file descriptor
38
39 char *_name_to_remove;
40
41 If nonzero, the named file is removed when the file is fclosed.
42
43