21 #include <l4/l4re_vfs/backend> 23 namespace L4Re {
namespace Core {
25 class Ro_file :
public L4Re::Vfs::Be_file_pos
34 : Be_file_pos(), _ds(ds), _addr(0)
41 int fstat64(
struct stat64 *buf)
const throw();
43 int ioctl(
unsigned long, va_list)
throw();
45 off64_t size()
const throw() {
return _size; }
47 int get_status_flags()
const throw()
50 int set_status_flags(
long)
throw()
56 ssize_t read_single(const struct iovec*, off64_t) throw();
57 ssize_t preadv(const struct iovec *,
int, off64_t) throw();
58 ssize_t pwritev(const struct iovec *,
int , off64_t) throw();
unsigned long size() const
Get size of a dataspace.