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

Method do_syscall_clear_errno

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

Source from the content-addressed store, hash-verified

475 // syscall variants that throw an error on errno
476
477 do_syscall_clear_errno(...args) {
478 if (this.position) {
479 throw Error('chain not empty');
480 }
481 try {
482 this.push_clear_errno();
483 this.push_syscall(...args);
484 this.push_get_retval();
485 this.push_get_errno();
486 this.push_end();
487 this.run();
488 } finally {
489 this.reset();
490 }
491 }
492
493 sysi(...args) {
494 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