MCPcopy
hub / github.com/sql-js/sql.js / ___syscall20

Function ___syscall20

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

Source from the content-addressed store, hash-verified

4738
4739
4740 var PROCINFO={ppid:1,pid:42,sid:42,pgid:42};function ___syscall20(which, varargs) {SYSCALLS.varargs = varargs;
4741 try {
4742 // getpid
4743 return PROCINFO.pid;
4744 } catch (e) {
4745 if (typeof FS === 'undefined' || !(e instanceof FS.ErrnoError)) abort(e);
4746 return -e.errno;
4747 }
4748 }
4749
4750
4751 function ___syscall202(which, varargs) {SYSCALLS.varargs = varargs;

Callers 1

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