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