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

Method close

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

Source from the content-addressed store, hash-verified

39class StdinFile : public DataFile {
40 int open(oflags_t) override { return 0; }
41 int close() override { return 0; }
42
43 ssize_t write(const uint8_t* buf, size_t len, off_t offset) override {
44 return -__WASI_ERRNO_INVAL;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected