mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
Add a simple /dev/full.
This commit is contained in:
parent
fc1facf5c0
commit
9f9b4a2382
Notes:
sideshowbarker
2024-07-19 18:48:20 +09:00
Author: https://github.com/awesomekling
Commit: 9f9b4a2382
6 changed files with 85 additions and 0 deletions
13
VirtualFileSystem/FullDevice.h
Normal file
13
VirtualFileSystem/FullDevice.h
Normal file
|
@ -0,0 +1,13 @@
|
|||
#pragma once
|
||||
|
||||
#include "CharacterDevice.h"
|
||||
|
||||
class FullDevice final : public CharacterDevice {
|
||||
public:
|
||||
FullDevice();
|
||||
virtual ~FullDevice();
|
||||
|
||||
ssize_t read(byte* buffer, size_t bufferSize) override;
|
||||
ssize_t write(const byte* buffer, size_t bufferSize) override;
|
||||
};
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue