MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / close

Method close

system/lib/wasmfs/special_files.cpp:146–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144class RandomFile : public DataFile {
145 int open(oflags_t) override { return 0; }
146 int close() override { return 0; }
147
148 ssize_t write(const uint8_t* buf, size_t len, off_t offset) override {
149 return -__WASI_ERRNO_INVAL;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected