MCPcopy Create free account
hub / github.com/GamerHack/GamerHack.github.io / sysi

Method sysi

g2all/700/module/chain.js:488–499  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

486 }
487
488 sysi(...args) {
489 const errno = this._errno;
490 this.do_syscall_clear_errno(...args);
491
492 const err = errno[0];
493 if (err !== 0) {
494 throw Error(`syscall(${args[0]}) errno: ${err}`);
495 }
496
497 // x | 0 will always be a signed integer
498 return this._return_value[0] | 0;
499 }
500
501 sys(...args) {
502 const errno = this._errno;

Callers 1

sysiFunction · 0.45

Calls 1

Tested by

no test coverage detected