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

Kernel: Customize absolute_path() for more file types

This commit is contained in:
Sergey Bugaev 2019-08-10 19:10:36 +03:00 committed by Andreas Kling
parent 1d03391488
commit dadf6337ef
7 changed files with 91 additions and 15 deletions

View file

@ -18,6 +18,8 @@ public:
void notify_slave_closed(Badge<SlavePTY>);
bool is_closed() const { return m_closed; }
virtual String absolute_path(const FileDescription&) const override;
private:
// ^CharacterDevice
virtual ssize_t read(FileDescription&, u8*, ssize_t) override;