mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-20 08:18:55 +00:00
Kernel: Make NullDevice (/dev/null) seekable
This commit is contained in:
parent
821a6e8b4c
commit
26d7261347
Notes:
sideshowbarker
2024-07-18 07:33:01 +09:00
Author: https://github.com/awesomekling
Commit: 26d7261347
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ private:
|
||||||
virtual bool can_write(const FileDescription&, size_t) const override { return true; }
|
virtual bool can_write(const FileDescription&, size_t) const override { return true; }
|
||||||
virtual bool can_read(const FileDescription&, size_t) const override;
|
virtual bool can_read(const FileDescription&, size_t) const override;
|
||||||
virtual StringView class_name() const override { return "NullDevice"; }
|
virtual StringView class_name() const override { return "NullDevice"; }
|
||||||
|
virtual bool is_seekable() const override { return true; }
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue