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

Function __syscall_fdatasync

system/lib/wasmfs/syscalls.cpp:322–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320}
321
322int __syscall_fdatasync(int fd) {
323 // TODO: Optimize this to avoid unnecessarily flushing unnecessary metadata.
324 return __wasi_fd_sync(fd);
325}
326
327backend_t wasmfs_get_backend_by_fd(int fd) {
328 auto openFile = wasmFS.getFileTable().locked().getEntry(fd);

Callers

nothing calls this directly

Calls 1

__wasi_fd_syncFunction · 0.85

Tested by

no test coverage detected