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

Function __syscall_umask

system/lib/wasmfs/syscalls.cpp:671–675  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

669}
670
671mode_t __syscall_umask(mode_t mask) {
672 mode_t old = wasmFS.getUmask();
673 wasmFS.setUmask(mask);
674 return old;
675}
676
677__wasi_errno_t __wasi_fd_seek(__wasi_fd_t fd,
678 __wasi_filedelta_t offset,

Callers

nothing calls this directly

Calls 2

getUmaskMethod · 0.80
setUmaskMethod · 0.80

Tested by

no test coverage detected