home *** CD-ROM | disk | FTP | other *** search
/ Resource for Source: C/C++ / Resource for Source - C-C++.iso / codelib9 / v_11_07 / unixfile.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-11-01  |  423 b   |  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.