All pastes #16783 Raw Edit

Unnamed

public text v1 · immutable
#16783 ·published 2005-07-03 13:28 UTC
rendered paste body
#define FIO_RDONLY      .....
#define FIO_WRONLY      .....
#define FIO_RDWRITE     .....
#define FIO_UNBUFFERED  .....

#define FIO_SEEK_SET    .....
#define FIO_SEEK_CUR    .....
#define FIO_SEEK_END    .....


class FileIO {

public:

  FileIO();
  ~FileIO();

  int Open(const char *name, int flags);
  int Close();
  int64_t Read(void *buf, int64_t count);
  int64_t Write(void *buf, int64_t count);
  int64_t LSeek(int64_t pos, int whence);

}