omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / seed / ng / tests / ir / x-wpidcap.om
| 1 | note bay 5 review of b203fc8c (same class as x-sleepneg): waitpid with an output under 4 bytes traps 3 before any kernel call |
| 2 | note (OMEGESE s10); ngrun refuses waitpid (115) only after that check. |
| 3 | fn main to int |
| 4 | a = new uchar 2 0 |
| 5 | k = waitpid -1 a 0 2 1 |
| 6 | ret int and k 255 |
| 7 | end |