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-1 / DIO.H < prev    next >
C/C++ Source or Header  |  2000-06-30  |  768b  |  24 lines

  1. /*
  2.     External data used by DIO.C for directed I/O simulation:
  3.     (BDSCIO.H must also be #included in the main file.)
  4. */
  5.  
  6. /*
  7. #define BUF_CONS 1            /* uncomment if console buffering is
  8.                         desired    (see DIO.C)       */
  9. */
  10.  
  11. char _diflag, _doflag;            /* flag if directed I/O being used */
  12. char _pipef, *_pipedest;        /* true if a pipe is being filled  */
  13. char **_savei, **_nullpos;        /* used to remember position in
  14.                        command line when piping        */
  15. char _dibuf[BUFSIZ], _dobuf[BUFSIZ];    /* I/O buffers used for direction  */
  16.  
  17. #ifdef BUF_CONS                /* console buffering data       */
  18.  
  19. char _conbuf[MAXLINE + 2];        /* console input buffer used for 
  20.                        non-directed standard input       */
  21. char *_conbufp;                /* pointer to next character to
  22.                         read from console buffer   */
  23. #endif
  24.