mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 22:55:08 +00:00
TTY::write() should return the number of bytes written.
This commit is contained in:
parent
cc0be2e78a
commit
e7b1101f62
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ ssize_t TTY::write(const byte* buffer, size_t size)
|
||||||
dbgprintf("\n");
|
dbgprintf("\n");
|
||||||
#endif
|
#endif
|
||||||
on_tty_write(buffer, size);
|
on_tty_write(buffer, size);
|
||||||
return 0;
|
return size;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool TTY::has_data_available_for_reading() const
|
bool TTY::has_data_available_for_reading() const
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue