mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
14 lines
309 B
C++
14 lines
309 B
C++
#pragma once
|
|
|
|
#include "CharacterDevice.h"
|
|
|
|
class RandomDevice final : public CharacterDevice {
|
|
public:
|
|
RandomDevice();
|
|
virtual ~RandomDevice();
|
|
|
|
Unix::ssize_t read(byte* buffer, Unix::size_t bufferSize) override;
|
|
Unix::ssize_t write(const byte* buffer, Unix::size_t bufferSize) override;
|
|
};
|
|
|