MCPcopy Create free account
hub / github.com/WasmVM/WasmVM / get

Method get

host/sysenv/sysenv.cpp:35–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35FdEntry* FdTable::get(i32_t fd) {
36 auto it = table_.find(fd);
37 if(it == table_.end()) return nullptr;
38 return &it->second;
39}
40
41void FdTable::release(i32_t fd) {
42 auto it = table_.find(fd);

Callers 7

fs_closeFunction · 0.45
fs_readFunction · 0.45
fs_writeFunction · 0.45
fs_lseekFunction · 0.45
fs_fstatFunction · 0.45
fs_readdirFunction · 0.45
fs_closedirFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected