io.h 675 B

123456789101112131415161718
  1. /* Copyright (c) 1993-2007 by Richard Kelsey and Jonathan Rees.
  2. See file COPYING. */
  3. #include <stdio.h>
  4. extern FILE *ps_open_input_file(char *, long *);
  5. extern FILE *ps_open_output_file(char *, long *);
  6. extern long ps_close(FILE *);
  7. extern char ps_read_char(FILE *, char *, long *, char);
  8. extern long ps_read_integer(FILE *, char *, long *);
  9. extern long ps_write_char(char, FILE *);
  10. extern long ps_write_integer(long, FILE *);
  11. extern long ps_write_string(char *, FILE *);
  12. extern long ps_read_block(FILE *, char *, long, char *, long *);
  13. extern long ps_write_block(FILE *, char *, long);
  14. extern char *ps_error_string(long);
  15. extern void ps_error(char *, long count, ...);