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

Function ___syscall10

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

Source from the content-addressed store, hash-verified

4598 },getZero:function () {
4599 assert(SYSCALLS.get() === 0);
4600 }};function ___syscall10(which, varargs) {SYSCALLS.varargs = varargs;
4601 try {
4602 // unlink
4603 var path = SYSCALLS.getStr();
4604 FS.unlink(path);
4605 return 0;
4606 } catch (e) {
4607 if (typeof FS === 'undefined' || !(e instanceof FS.ErrnoError)) abort(e);
4608 return -e.errno;
4609 }
4610 }
4611
4612 function ___syscall118(which, varargs) {SYSCALLS.varargs = varargs;
4613 try {

Callers 1

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