Mercurial > hg > CbC > CbC_xv6
view src/data_gear/file.dg @ 357:e194c940c664
fix Getopt
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 15 Jun 2020 18:41:01 +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;