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

Function __syscall_fstatfs64

system/lib/wasmfs/syscalls.cpp:1598–1604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1596}
1597
1598int __syscall_fstatfs64(int fd, size_t size, struct statfs* buf) {
1599 auto openFile = wasmFS.getFileTable().locked().getEntry(fd);
1600 if (!openFile) {
1601 return -EBADF;
1602 }
1603 return doStatFS(openFile->locked().getFile(), size, buf);
1604}
1605
1606int _mmap_js(size_t length,
1607 int prot,

Callers

nothing calls this directly

Calls 4

doStatFSFunction · 0.85
getEntryMethod · 0.80
lockedMethod · 0.45
getFileMethod · 0.45

Tested by

no test coverage detected