Class DeviceOps

Inheritance Relationships

Derived Type

Class Documentation

class DeviceOps

Subclassed by Gaia::Posix::TTY::Ops

Public Functions

virtual Result<size_t, Error> write(dev_t minor, frg::span<uint8_t> buf, off_t off) = 0
virtual Result<size_t, Error> read(dev_t minor, frg::span<uint8_t> buf, off_t off) = 0
virtual Result<uint64_t, Error> ioctl(dev_t minor, uint64_t request, void *arg) = 0
virtual Result<VnodeAttr, Error> getattr(dev_t minor) = 0