From 32630628a996e29018641af262272339ed6fef88 Mon Sep 17 00:00:00 2001 From: rtm Date: Sat, 29 Jul 2006 09:35:02 +0000 Subject: open() --- fd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fd.h') diff --git a/fd.h b/fd.h index aa03af9..442ee34 100644 --- a/fd.h +++ b/fd.h @@ -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]; -- cgit v1.2.3