MCPcopy Create free account
hub / github.com/MemNixFS/MemNixFS / read

Method read

src/vfs/proc_module.cpp:285–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283 std::shared_ptr<linux::ElfCoreStream> s;
284 u64 size() const override { return s->size(); }
285 std::size_t read(u64 o, void* b, std::size_t n) override {
286 return s->read(o, b, n);
287 }
288 };
289 auto holder = std::make_shared<Holder>();
290 holder->pt = user_pt;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected