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

Function ___syscall118

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

Source from the content-addressed store, hash-verified

4610 }
4611
4612 function ___syscall118(which, varargs) {SYSCALLS.varargs = varargs;
4613 try {
4614 // fsync
4615 var stream = SYSCALLS.getStreamFromFD();
4616 return 0; // we can't do anything synchronously; the in-memory FS is already synced to
4617 } catch (e) {
4618 if (typeof FS === 'undefined' || !(e instanceof FS.ErrnoError)) abort(e);
4619 return -e.errno;
4620 }
4621 }
4622
4623 function ___syscall140(which, varargs) {SYSCALLS.varargs = varargs;
4624 try {

Callers 1

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