MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / URandom

Class URandom

Kernel/src/device.cpp:10–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include <timer.h>
9
10class URandom : public Device {
11public:
12 URandom(const char* name) : Device(name, TypeGenericDevice) {
13 flags = FS_NODE_CHARDEVICE;
14 }
15
16 ssize_t Read(size_t, size_t, uint8_t*);
17 ssize_t Write(size_t, size_t, uint8_t*);
18};
19
20class Null : public Device {
21public:

Callers 1

device.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected