fd.* -> file.*

This commit is contained in:
rsc 2006-09-06 18:40:28 +00:00
parent 39593d2f1a
commit 9936bffa45
8 changed files with 8 additions and 8 deletions

9
file.h Normal file
View 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;
};