diff options
author | rsc <rsc> | 2006-09-06 18:40:28 +0000 |
---|---|---|
committer | rsc <rsc> | 2006-09-06 18:40:28 +0000 |
commit | 9936bffa45c928ead9660a0df32d08a50b2b09c2 (patch) | |
tree | 096bfa5d4ce6dacdb540938beba5932b85a7815a /file.h | |
parent | 39593d2f1aab1355d61b75c041b31a88d2043a04 (diff) | |
download | xv6-labs-9936bffa45c928ead9660a0df32d08a50b2b09c2.tar.gz xv6-labs-9936bffa45c928ead9660a0df32d08a50b2b09c2.tar.bz2 xv6-labs-9936bffa45c928ead9660a0df32d08a50b2b09c2.zip |
fd.* -> file.*
Diffstat (limited to 'file.h')
-rw-r--r-- | file.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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; +}; |