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

Method sys

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

Source from the content-addressed store, hash-verified

499 }
500
501 sys(...args) {
502 const errno = this._errno;
503 this.do_syscall_clear_errno(...args);
504
505 const err = errno[0];
506 if (err !== 0) {
507 throw Error(`syscall(${args[0]}) errno: ${err}`);
508 }
509
510 const retval = this._return_value;
511 return new Int(retval[0], retval[1]);
512 }
513
514 sysp(...args) {
515 const errno = this._errno;

Callers 1

kexploitFunction · 0.45

Calls 1

Tested by

no test coverage detected