This commit is contained in:
rsc 2009-05-31 02:07:51 +00:00
parent 7f399ccaa4
commit f3685aa391
3 changed files with 17 additions and 30 deletions

2
file.h
View file

@ -1,5 +1,5 @@
struct file {
enum { FD_CLOSED, FD_NONE, FD_PIPE, FD_INODE } type;
enum { FD_NONE, FD_PIPE, FD_INODE } type;
int ref; // reference count
char readable;
char writable;