mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:27:45 +00:00
Kernel: Make NullDevice (/dev/null) seekable
This commit is contained in:
parent
821a6e8b4c
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_read(const FileDescription&, size_t) const override;
|
||||
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