 pag

*
* Open File Table
*
* One entry for each open file.  Its main function
* is to hold the I/O pointer for the file.
*

 base 0

* struct ofile

ofmode rmb 1 * see below *
ofnodp rmb 2 pointer to fdn data
ofrfct rmb 1 file reference count
ofpost rmb 2 r/w character pointer
ofpos2 rmb 2 rest of position ptr

FSTSIZ equ * file structure size

* mode codes

OFREAD equ %00000001 reading
OFWRIT equ %00000010 writing
OFPIPE equ %00000100 pipe
