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

Function ___syscall15

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

Source from the content-addressed store, hash-verified

4637 }
4638
4639 function ___syscall15(which, varargs) {SYSCALLS.varargs = varargs;
4640 try {
4641 // chmod
4642 var path = SYSCALLS.getStr(), mode = SYSCALLS.get();
4643 FS.chmod(path, mode);
4644 return 0;
4645 } catch (e) {
4646 if (typeof FS === 'undefined' || !(e instanceof FS.ErrnoError)) abort(e);
4647 return -e.errno;
4648 }
4649 }
4650
4651 function ___syscall183(which, varargs) {SYSCALLS.varargs = varargs;
4652 try {

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…