MCPcopy Create free account
hub / github.com/sql-js/sql.js / ___syscall40

Function ___syscall40

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

Source from the content-addressed store, hash-verified

4883 }
4884
4885 function ___syscall40(which, varargs) {SYSCALLS.varargs = varargs;
4886 try {
4887 // rmdir
4888 var path = SYSCALLS.getStr();
4889 FS.rmdir(path);
4890 return 0;
4891 } catch (e) {
4892 if (typeof FS === 'undefined' || !(e instanceof FS.ErrnoError)) abort(e);
4893 return -e.errno;
4894 }
4895 }
4896
4897 function ___syscall5(which, varargs) {SYSCALLS.varargs = varargs;
4898 try {

Callers 1

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