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 >
Wrap
Text File
|
1993-01-07
|
423b
|
16 lines
/*** UnixFile Class Interface: unixfile.h ***/
#include <io.h>
#include <fcntl.h>
#include <sys/stat.h>
DCL_METHODS(UnixFile,File,(const char *nm,int flgs,int mod))
REDCL_METHOD(Seek,(long offset, int whence), long);
REDCL_METHOD(Read,(void *buffer, int nbytes), int);
REDCL_METHOD(Write,(void *buffer, int nbytes), int);
END_METHODS
DCL_MEMBERS(UnixFile,File)
int descriptor;
END_MEMBERS