fd.* -> file.*
This commit is contained in:
parent
39593d2f1a
commit
9936bffa45
8 changed files with 8 additions and 8 deletions
9
file.h
Normal file
9
file.h
Normal file
|
@ -0,0 +1,9 @@
|
|||
struct file {
|
||||
enum { FD_CLOSED, FD_NONE, FD_PIPE, FD_FILE } type;
|
||||
int ref; // reference count
|
||||
char readable;
|
||||
char writable;
|
||||
struct pipe *pipe;
|
||||
struct inode *ip;
|
||||
uint off;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue