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 / qualification / security673 / pure-output.om
| 1 | note One write to a disposable regular output file must stop at the installed one-MiB file limit. |
| 2 | global bytes uchar 1048577 |
| 3 | fn main to int |
| 4 | n = write 1 bytes 0 len bytes |
| 5 | if ne n 1048576 |
| 6 | ret 82 |
| 7 | end |
| 8 | ret 0 |
| 9 | end |