home *** CD-ROM | disk | FTP | other *** search
/ Dream 57 / Amiga_Dream_57.iso / Amiga / Programmation / c / Compilateur / Gcc / Edition / newgccstart.lha / headers / stdio.h next >
Encoding:
C/C++ Source or Header  |  1994-03-14  |  404 b   |  22 lines

  1. #ifndef STDIO_H
  2. #define STDIO_H
  3.  
  4. struct __FILE
  5. {
  6.   long file; /* long = BPTR */
  7.   int error; /* Fehlerwert */
  8.   int uc;    /* ungetc pending */
  9. };
  10.  
  11. #define EOF (-1)
  12.  
  13. typedef struct __FILE FILE;
  14.  
  15. extern FILE *fopen(const char *filename,const char *mode);
  16. extern int fclose(FILE *stream);
  17. extern int fgetc(FILE *stream);
  18. extern int fputc(int c,FILE *stream);
  19. extern int ungetc(int c,FILE *stream);
  20.  
  21. #endif
  22.