MCPcopy Index your code
hub / github.com/sql-js/sql.js / ___syscall94

Function ___syscall94

js/sql-debug.js:4955–4965  ·  view source on GitHub ↗
(which, varargs)

Source from the content-addressed store, hash-verified

4953 }
4954
4955 function ___syscall94(which, varargs) {SYSCALLS.varargs = varargs;
4956 try {
4957 // fchmod
4958 var fd = SYSCALLS.get(), mode = SYSCALLS.get();
4959 FS.fchmod(fd, mode);
4960 return 0;
4961 } catch (e) {
4962 if (typeof FS === 'undefined' || !(e instanceof FS.ErrnoError)) abort(e);
4963 return -e.errno;
4964 }
4965 }
4966
4967
4968

Callers 1

_fchmodFunction · 0.70

Calls 1

abortFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…