Mercurial > hg > CbC > CbC_xv6
view src/interface/file.dg @ 115:83aadf17d3d0
use .dg files preferentially than .h
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 02 Dec 2019 11:45:48 +0900 |
parents | |
children | c690327cabc8 |
line wrap: on
line source
typedef struct file <Impl> { 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;