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

Method Read

Kernel/src/device.cpp:30–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28};
29
30ssize_t Null::Read(size_t offset, size_t size, uint8_t *buffer){
31
32 memset(buffer, -1, size);
33 return size;
34}
35
36ssize_t Null::Write(size_t offset, size_t size, uint8_t *buffer){
37 return size;

Callers

nothing calls this directly

Calls 4

memsetFunction · 0.85
randFunction · 0.85
GetSystemUptimeFunction · 0.85
GetFrequencyFunction · 0.85

Tested by

no test coverage detected