(...args)
| 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; |
no test coverage detected