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