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

Method PipeFile

system/lib/wasmfs/pipe_backend.h:57–61  ·  view source on GitHub ↗

PipeFiles do not have or need a backend. Pass NullBackend to the parent for that.

Source from the content-addressed store, hash-verified

55 // PipeFiles do not have or need a backend. Pass NullBackend to the parent for
56 // that.
57 PipeFile(mode_t mode, std::shared_ptr<PipeData> data)
58 : DataFile(mode, NullBackend), data(data) {
59 // Reads are always from the front; writes always to the end.
60 seekable = false;
61 }
62};
63} // namespace wasmfs

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected