summaryrefslogtreecommitdiff
path: root/VirtualFileSystem/ZeroDevice.h
blob: 942a1b855a5022caef9c314726908651ab1f7332 (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();

    ssize_t read(byte* buffer, size_t bufferSize) override;
    ssize_t write(const byte* buffer, size_t bufferSize) override;
};