mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:38:12 +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
|
@ -28,7 +28,7 @@ private:
|
|||
virtual bool can_write(FileDescriptor&) const override { return true; }
|
||||
virtual int read(FileDescriptor&, byte*, int) override;
|
||||
virtual int write(FileDescriptor&, const byte*, int) override;
|
||||
virtual String absolute_path() const override;
|
||||
virtual String absolute_path(FileDescriptor&) const override;
|
||||
virtual const char* class_name() const override { return "SharedMemory"; }
|
||||
virtual bool is_shared_memory() const override { return true; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue