1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:07:35 +00:00

Rename CharacterDevice::has_data_available_for_reading() -> can_read().

This commit is contained in:
Andreas Kling 2019-01-16 00:10:13 +01:00
parent 10387beda7
commit 08bfe518f9
23 changed files with 24 additions and 24 deletions

View file

@ -39,7 +39,7 @@ private:
// ^CharacterDevice
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_read(Process&) const override;
virtual bool can_write(Process&) const override { return true; }
void emit(byte);