From 9936bffa45c928ead9660a0df32d08a50b2b09c2 Mon Sep 17 00:00:00 2001 From: rsc Date: Wed, 6 Sep 2006 18:40:28 +0000 Subject: fd.* -> file.* --- file.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 file.h (limited to 'file.h') diff --git a/file.h b/file.h new file mode 100644 index 0000000..15d6b78 --- /dev/null +++ b/file.h @@ -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; +}; -- cgit v1.2.3