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

Kernel: Writing to a slave PTY should yield EIO if the master is closed.

This commit is contained in:
Andreas Kling 2019-02-05 13:09:01 +01:00
parent 2a0700af9a
commit 0669ef8977
7 changed files with 14 additions and 8 deletions

View file

@ -23,7 +23,7 @@ private:
virtual void on_sysconsole_receive(byte) override;
// ^TTY
virtual void on_tty_write(const byte*, size_t) override;
virtual ssize_t on_tty_write(const byte*, size_t) override;
virtual String tty_name() const override;
// ^CharacterDevice