1 #ifndef RFIO_ADAPTOR_RFIO_FILE_H
2 #define RFIO_ADAPTOR_RFIO_FILE_H
18 void create (
const char *name,
19 bool exclusive =
false,
22 bool exclusive =
false,
24 void open (
const char *name,
41 virtual void close (
void)
override;
62 #endif // RFIO_ADAPTOR_RFIO_FILE_H
virtual void resize(IOOffset size) override
virtual IOSize readv(IOPosBuffer *into, IOSize buffers)
virtual IOSize readv(IOPosBuffer *into, IOSize buffers) override
virtual IOSize write(const void *from, IOSize n) override
std::vector< Variable::Flags > flags
void open(const char *name, int flags=IOFlags::OpenRead, int perms=0666)
virtual IOSize write(const void *from, IOSize n, IOOffset pos)
virtual IOOffset position(void) const
void create(const char *name, bool exclusive=false, int perms=0666)
ssize_t retryRead(void *into, IOSize n, int maxRetry=10)
virtual IOOffset size(void) const
virtual void close(void) override