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

Function _munmap_js

system/lib/wasmfs/syscalls.cpp:1716–1722  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1714}
1715
1716int _munmap_js(
1717 void* addr, size_t length, int prot, int flags, int fd, off_t offset) {
1718 // TODO: This is not correct! Mappings should be associated with files, not
1719 // fds.
1720 // TODO: Syncing should probably be handled in __syscall_munmap instead.
1721 return _msync_js(addr, length, prot, flags, fd, offset);
1722}
1723
1724// Stubs (at least for now)
1725

Callers 1

__syscall_munmapFunction · 0.50

Calls 1

_msync_jsFunction · 0.85

Tested by

no test coverage detected