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

Method sysi

g2all/900/module/chain.js:493–504  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

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

Callers 1

sysiFunction · 0.45

Calls 1

Tested by

no test coverage detected