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

Function __syscall_chmod

system/lib/wasmfs/syscalls.cpp:1195–1197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1193}
1194
1195int __syscall_chmod(const char* path, mode_t mode) {
1196 return __syscall_fchmodat2(AT_FDCWD, path, mode, 0);
1197}
1198
1199int __syscall_fchmod(int fd, mode_t mode) {
1200 auto openFile = wasmFS.getFileTable().locked().getEntry(fd);

Callers 1

_wasmfs_chmodFunction · 0.85

Calls 1

__syscall_fchmodat2Function · 0.85

Tested by

no test coverage detected