mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:48:12 +00:00
Rename CharacterDevice::has_data_available_for_reading() -> can_read().
This commit is contained in:
parent
10387beda7
commit
08bfe518f9
23 changed files with 24 additions and 24 deletions
|
@ -31,7 +31,7 @@ ssize_t MasterPTY::write(const byte* buffer, size_t size)
|
|||
return size;
|
||||
}
|
||||
|
||||
bool MasterPTY::has_data_available_for_reading(Process&) const
|
||||
bool MasterPTY::can_read(Process&) const
|
||||
{
|
||||
return !m_buffer.is_empty();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue