Mercurial > hg > CbC > CbC_xv6
view src/data_gear/file.dg @ 394:03b57cc656d9
llvm option in pmake.pl
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 14 Dec 2020 20:44:38 +0900 |
parents | 36ed64fea8c1 |
children |
line wrap: on
line source
typedef struct file <DATA> { enum { FD_NONE, FD_PIPE, FD_INODE } type; int ref; // reference count char readable; char writable; struct pipe *pipe; struct inode *ip; uint off; } file;