mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:27:35 +00:00
Kernel: Make Socket inherit from File.
This commit is contained in:
parent
03da7046bd
commit
2470fdcd9b
18 changed files with 81 additions and 73 deletions
|
@ -15,7 +15,7 @@ public:
|
|||
virtual bool can_read(FileDescriptor&) const override;
|
||||
virtual bool can_write(FileDescriptor&) const override;
|
||||
virtual int ioctl(FileDescriptor&, unsigned request, unsigned arg) override final;
|
||||
virtual String absolute_path() const override { return tty_name(); }
|
||||
virtual String absolute_path(FileDescriptor&) const override { return tty_name(); }
|
||||
|
||||
virtual String tty_name() const = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue