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

Function ___syscall6

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

Source from the content-addressed store, hash-verified

4907 }
4908
4909 function ___syscall6(which, varargs) {SYSCALLS.varargs = varargs;
4910 try {
4911 // close
4912 var stream = SYSCALLS.getStreamFromFD();
4913 FS.close(stream);
4914 return 0;
4915 } catch (e) {
4916 if (typeof FS === 'undefined' || !(e instanceof FS.ErrnoError)) abort(e);
4917 return -e.errno;
4918 }
4919 }
4920
4921 function ___syscall85(which, varargs) {SYSCALLS.varargs = varargs;
4922 try {

Callers 2

_closeFunction · 0.70
_fcntlFunction · 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…