[ C++ RCOS Home | RCOS.java Home | RCOS Home | David's Home ]

RCOS C++ CRC for class xfcb_tag

Name:

xfcb_tag

Comment:

This structure extends the basic File Control Block. Each file to be maintained on behalf of the process requires one of these..

Collaborators:

Responsibilities:

 typedef struct xfcb_tag {
    FCB    Fcb;                 // FS File Control Block struct
    FSM    mState;              // current FSM state for this file
    UINT16 ndx;                 // deblocking I/O buffer index
    UINT16 nErrCnt;             // count of hard errors (one usually aborts)
    UINT16 nReadCnt;            // total file reads,
    UINT16 nWriteCnt;           // and writes (flush on close when non-zero)
    char   *pszTemp;            // buffer write overflow holder
  } XFCB, *PXFCB;