home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / Epoc / Palmtime / files / FrotzCE2_src.ZIP / FrotzCE / FrotzCEIO.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-09-06  |  811 b   |  39 lines

  1. #ifndef _FROTZCEIO_H
  2. #define _FROTZCEIO_H
  3.  
  4. #ifdef __cplusplus
  5. extern "C"
  6. {
  7. #endif
  8.  
  9. #ifndef SEEK_SET
  10. #define SEEK_SET 0
  11. #define SEEK_CUR 1
  12. #define SEEK_END 2
  13. #endif
  14.  
  15. #define FILE void
  16.  
  17. typedef unsigned int size_t;
  18.  
  19. FILE *fopen( const char *filename, const char *mode );
  20. size_t fread( void *buffer, size_t size, size_t count, FILE *stream );
  21. int fseek( FILE *stream, long offset, int origin );
  22. long ftell( FILE *stream );
  23. int fclose( FILE *stream );
  24. int fgetc( FILE *stream );
  25. int ferror( FILE *stream );
  26. size_t fwrite( const void *buffer, size_t size, size_t count, FILE *stream );
  27. int fputc( int c, FILE *stream );
  28. int fputs( const char *string, FILE *stream );
  29.  
  30. void debug_msg( const char *pszString, int nNum );
  31.  
  32. #define EOF     (-1)
  33.  
  34. #ifdef __cplusplus
  35. }
  36. #endif
  37.  
  38. #endif
  39.