diff options
Diffstat (limited to 'fd.h')
-rw-r--r-- | fd.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,9 +1,10 @@ struct fd { - enum { FD_CLOSED, FD_NONE, FD_PIPE } type; + enum { FD_CLOSED, FD_NONE, FD_PIPE, FD_FILE } type; int ref; // reference count char readable; char writeable; struct pipe *pipe; + struct inode *ip; }; extern struct fd fds[NFD]; |