blob: cdbda79bfa6027d12f19c2b492941803178260a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#pragma once
#include "CharacterDevice.h"
class ZeroDevice final : public CharacterDevice {
public:
ZeroDevice();
virtual ~ZeroDevice();
Unix::ssize_t read(byte* buffer, Unix::size_t bufferSize) override;
Unix::ssize_t write(const byte* buffer, Unix::size_t bufferSize) override;
};
|