1: /*
2: * One file structure is allocated
3: * for each open/creat/pipe call.
4: * Main use is to hold the read/write
5: * pointer associated with each open
6: * file.
7: */
8: struct file
9: {
10: char f_flag;
11: char f_count; /* reference count */
12: int f_inode; /* pointer to inode structure */
13: char *f_offset[2]; /* read/write character pointer */
14: } file[NFILE];
15:
16: /* flags */
17: #define FREAD 01
18: #define FWRITE 02
19: #define FPIPE 04
Defined variables
file
defined in line
14; used 2 times
Defined struct's
file
defined in line
8; used 6 times
Defined macros
FPIPE
defined in line
19; used 5 times
FREAD
defined in line
17; used 6 times
Usage of this include