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