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

Function ___syscall197

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

Source from the content-addressed store, hash-verified

4726 }
4727
4728 function ___syscall197(which, varargs) {SYSCALLS.varargs = varargs;
4729 try {
4730 // SYS_fstat64
4731 var stream = SYSCALLS.getStreamFromFD(), buf = SYSCALLS.get();
4732 return SYSCALLS.doStat(FS.stat, stream.path, buf);
4733 } catch (e) {
4734 if (typeof FS === 'undefined' || !(e instanceof FS.ErrnoError)) abort(e);
4735 return -e.errno;
4736 }
4737 }
4738
4739
4740 var PROCINFO={ppid:1,pid:42,sid:42,pgid:42};function ___syscall20(which, varargs) {SYSCALLS.varargs = varargs;

Callers 1

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