io.h 722 B

123456789101112131415161718192021
  1. /*
  2. * Part of Scheme 48 1.9. See file COPYING for notices and license.
  3. *
  4. * Authors: Richard Kelsey, Jonathan Rees, Mike Sperber
  5. */
  6. #include <stdio.h>
  7. extern FILE *ps_open_input_file(char *, long *);
  8. extern FILE *ps_open_output_file(char *, long *);
  9. extern long ps_close(FILE *);
  10. extern char ps_read_char(FILE *, char *, long *, char);
  11. extern long ps_read_integer(FILE *, char *, long *);
  12. extern long ps_write_char(char, FILE *);
  13. extern long ps_write_integer(long, FILE *);
  14. extern long ps_write_string(char *, FILE *);
  15. extern long ps_read_block(FILE *, char *, long, char *, long *);
  16. extern long ps_write_block(FILE *, char *, long);
  17. extern char *ps_error_string(long);
  18. extern void ps_error(char *, long count, ...);