home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Guide / c-cplusplus-interactive-guide.iso / c_ref / csource4 / 214_01 / dio.h < prev    next >
Encoding:
Text File  |  1979-12-31  |  1.3 KB  |  34 lines

  1. /* DIO.H         VERS:- 01.00  DATE:- 09/26/86  TIME:- 09:36:29 PM */
  2. /* 
  3. Description:
  4.  
  5. IO redirection header from BDS C and Van Nuys Toolkit, 
  6. by Eugene H. Mallory.
  7.  
  8. Minor modification:
  9.     avoid CR-CR pair before LF by patch in putchar() of DIOR.c, and by 
  10.         adding declaration of _putc_last in DIO.H;
  11.  
  12. By J.A. Rupley, Tucson, Arizona
  13. Coded for BDS C compiler, version 1.50a
  14. */
  15.  
  16. /************************ DIO.H *****************************/
  17. CHAR _pipeflag, _appendflag, _screenflag;
  18. CHAR _printerflag, _dioinflag, _rdrflag;
  19. INT _pargc;      /* Pipe argc */
  20. CHAR **_pargv;      /* Pipe argv */
  21. FILE _dibuf, _dobuf;      /* Input and output buffers */
  22. INT _iobyte;      /* IOBYTE save */
  23. CHAR _conline;      /* Buffered input buffer */
  24. CHAR _concount;
  25. CHAR _conbuf[MAXLINE];
  26. CHAR *_conbufp;
  27. INT *_outptr;      /* Output I/O block ptr */
  28. CHAR _oldfile[20];
  29. CHAR _infile[20];
  30. #DEFINE DIOIN (_dioinflag)
  31. #DEFINE DIOOUT (((_outptr==_dobuf)||(_outptr==STDLST))?1:0)
  32.  
  33. CHAR _putc_last;      /*added by JAR to avoid CR-CR pair before LF*/
  34. /********************************************************************/
  35.