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

  1. /*** UnixFile Class Interface: unixfile.h ***/
  2.  
  3. #include <io.h>
  4. #include <fcntl.h>
  5. #include <sys/stat.h>
  6.  
  7. DCL_METHODS(UnixFile,File,(const char *nm,int flgs,int mod))
  8.     REDCL_METHOD(Seek,(long offset, int whence), long);
  9.     REDCL_METHOD(Read,(void *buffer, int nbytes), int);
  10.     REDCL_METHOD(Write,(void *buffer, int nbytes), int);
  11. END_METHODS
  12.  
  13. DCL_MEMBERS(UnixFile,File)
  14.    int descriptor;
  15. END_MEMBERS
  16.