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

Method close

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

Source from the content-addressed store, hash-verified

21class NullFile : public DataFile {
22 int open(oflags_t) override { return 0; }
23 int close() override { return 0; }
24
25 ssize_t write(const uint8_t* buf, size_t len, off_t offset) override {
26 return len;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected