mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +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: https://github.com/SerenityOS/serenity/commit/26d72613470
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…
Reference in a new issue