home *** CD-ROM | disk | FTP | other *** search
/ Atari FTP / ATARI_FTP_0693.zip / ATARI_FTP_0693 / Tex / Tex29 / StTeXsrc.zoo / src / io.h < prev    next >
Text File  |  1988-03-13  |  868b  |  43 lines

  1.  
  2. /*
  3.  * @(#)io.h 2.5 EPA
  4.  *
  5.  * Copyright 1987,1988 Pat J Monardo
  6.  *
  7.  * Redistribution of this file is permitted through
  8.  * the specifications in the file COPYING.
  9.  *
  10.  * 
  11.  */
  12.  
  13. global  int     last;
  14. global  ascii   buffer[];
  15. global  int     first;
  16. global  int     max_buf_stack;
  17.  
  18. FILE    *a_open_in();
  19. FILE    *a_open_out();
  20.  
  21. FILE    *b_open_in();
  22. FILE    *b_open_out();
  23.  
  24. FILE    *w_open_in();
  25. FILE    *w_open_out();
  26.  
  27. #define a_close(FD)             (fclose(FD))
  28. #define b_close(FD)             (fclose(FD))
  29. #define w_close(FD)             (fclose(FD))
  30.  
  31. #define prompt_input(S)         {print(S); term_input();}
  32.  
  33. bool    init_terminal();
  34. int     term_input();
  35. bool    input_ln();
  36.  
  37. #define term_in                 stdin
  38. #define term_out                stdout
  39. #define t_open_in()
  40. #define t_open_out()
  41. #define update_terminal()       fflush(stdout)
  42. #define clear_terminal()
  43.