mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:58:12 +00:00
Kernel: Writing to a slave PTY should yield EIO if the master is closed.
This commit is contained in:
parent
2a0700af9a
commit
0669ef8977
7 changed files with 14 additions and 8 deletions
|
@ -33,7 +33,7 @@ public:
|
|||
void hang_up();
|
||||
|
||||
protected:
|
||||
virtual void on_tty_write(const byte*, size_t) = 0;
|
||||
virtual ssize_t on_tty_write(const byte*, size_t) = 0;
|
||||
void set_size(unsigned short columns, unsigned short rows);
|
||||
|
||||
TTY(unsigned major, unsigned minor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue