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

Method Write

Kernel/src/streams.cpp:13–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13int64_t Stream::Write(void* buffer, size_t len){
14 assert(!"Stream::Write called from base class");
15
16 return -1; // We should not return but get the compiler to shut up
17}
18
19int64_t Stream::Peek(void* buffer, size_t len){
20 assert(!"Stream::Peek called from base class");

Callers

nothing calls this directly

Calls 7

kmallocFunction · 0.85
memcpyFunction · 0.85
kfreeFunction · 0.85
UnblockThreadFunction · 0.85
get_lengthMethod · 0.45
remove_atMethod · 0.45
add_backMethod · 0.45

Tested by

no test coverage detected