Add basic character device support. Start with null and zero.

This commit is contained in:
Andreas Kling 2018-10-14 02:59:22 +02:00
commit 93556d6743
Notes: sideshowbarker 2024-07-19 18:48:27 +09:00
14 changed files with 157 additions and 2 deletions

View file

@ -8,7 +8,7 @@ public:
explicit FileHandle(RetainPtr<VirtualFileSystem::Node>&&);
~FileHandle();
ByteBuffer read() const;
ByteBuffer read();
private:
friend class VirtualFileSystem;