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

Method getPosition

system/lib/wasmfs/file_table.h:92–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 std::shared_ptr<File>& getFile() { return openFileState->file; };
91
92 off_t getPosition() const { return openFileState->position; };
93 void setPosition(off_t pos) { openFileState->position = pos; };
94
95 oflags_t getFlags() const { return openFileState->flags; };

Callers 5

writeAtOffsetFunction · 0.80
readAtOffsetFunction · 0.80
__wasi_fd_seekFunction · 0.80
__syscall_getdents64Function · 0.80
__syscall_ioctlFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected