mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:27:35 +00:00
Allow character devices to block write attempts until there is more space.
This commit is contained in:
parent
49b63281a0
commit
e452303c66
21 changed files with 39 additions and 7 deletions
|
@ -29,3 +29,8 @@ void SlavePTY::on_tty_write(const byte* data, size_t size)
|
|||
{
|
||||
m_master->on_slave_write(data, size);
|
||||
}
|
||||
|
||||
bool SlavePTY::can_write(Process& process) const
|
||||
{
|
||||
return m_master->can_write(process);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue