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

Method do_syscall_clear_errno

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

Source from the content-addressed store, hash-verified

470 // syscall variants that throw an error on errno
471
472 do_syscall_clear_errno(...args) {
473 if (this.position) {
474 throw Error("chain not empty");
475 }
476 try {
477 this.push_clear_errno();
478 this.push_syscall(...args);
479 this.push_get_retval();
480 this.push_get_errno();
481 this.push_end();
482 this.run();
483 } finally {
484 this.reset();
485 }
486 }
487
488 sysi(...args) {
489 const errno = this._errno;

Callers 3

sysiMethod · 0.95
sysMethod · 0.95
syspMethod · 0.95

Calls 7

push_clear_errnoMethod · 0.95
push_syscallMethod · 0.95
push_get_retvalMethod · 0.95
push_get_errnoMethod · 0.95
push_endMethod · 0.95
runMethod · 0.95
resetMethod · 0.95

Tested by

no test coverage detected