ref: e239a342a21b54d5e2302f5dece5624ef0f1aea7
dir: /libstd/waitstatus+osx.myr/
use "die.use" pkg std = type waitstatus = union `Waitexit int32 `Waitsig int32 `Waitstop int32 ;; const waitstatus : (st : int32 -> waitstatus) ;; const waitstatus = {st match st & 0o177 | 0: -> `Waitexit (st >> 8) | 0o177:-> `Waitstop (st >> 8) | sig: -> `Waitsig sig ;; die("unreachable") }