home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / BDSC / BDSC-2 / PORTIO.H < prev    next >
C/C++ Source or Header  |  2000-06-30  |  366b  |  13 lines

  1. /* PORTIO.H - I/O buffer data type and related definitions for use
  2.    with the I/O routines in PORTIO.C.  */
  3.  
  4. struct iobuf {
  5.     int fd;
  6.     int isect;            /* currently buffered sector */
  7.     int nextc;            /* index of next char in buffer */
  8.     char written;            /* anything written in current sector? */
  9.     char buff [128];
  10.     };
  11. #define    ABSOLUTE    0        /* seek codes */
  12. #define    RELATIVE    1
  13.