mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 02:26:10 +00:00
Allow character devices to block write attempts until there is more space.
This commit is contained in:
parent
49b63281a0
commit
e452303c66
Notes:
sideshowbarker
2024-07-19 16:02:08 +09:00
Author: https://github.com/awesomekling
Commit: e452303c66
21 changed files with 39 additions and 7 deletions
|
@ -40,6 +40,7 @@ private:
|
|||
virtual ssize_t read(byte* buffer, size_t) override;
|
||||
virtual ssize_t write(const byte* buffer, size_t) override;
|
||||
virtual bool has_data_available_for_reading(Process&) const override;
|
||||
virtual bool can_write(Process&) const override { return true; }
|
||||
|
||||
void emit(byte);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue