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

Function ___syscall212

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

Source from the content-addressed store, hash-verified

4773 }
4774
4775 function ___syscall212(which, varargs) {SYSCALLS.varargs = varargs;
4776 try {
4777 // chown32
4778 var path = SYSCALLS.getStr(), owner = SYSCALLS.get(), group = SYSCALLS.get();
4779 FS.chown(path, owner, group);
4780 return 0;
4781 } catch (e) {
4782 if (typeof FS === 'undefined' || !(e instanceof FS.ErrnoError)) abort(e);
4783 return -e.errno;
4784 }
4785 }
4786
4787 function ___syscall221(which, varargs) {SYSCALLS.varargs = varargs;
4788 try {

Callers 1

_fchownFunction · 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…