home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_11_07 / stdfile.h < prev    next >
Text File  |  1993-01-07  |  376b  |  15 lines

  1. /*** StdFile Class Interface: stdfile.h ***/
  2.  
  3. #include <stdio.h>
  4.  
  5. DCL_METHODS(StdFile,File,(const char *nam,const char *acc))
  6.     REDCL_METHOD(Seek,(long offset, int whence),long);
  7.     REDCL_METHOD(Read,(void *buffer, int nbytes),int);
  8.     REDCL_METHOD(Write,(void *buffer, int nbytes),int);
  9. END_METHODS
  10.  
  11. DCL_MEMBERS(StdFile,File)
  12.    FILE *handle;
  13. END_MEMBERS
  14.  
  15.