errno top-level property

int get errno

errno, read right after the leaf call that set it: after one that is not a leaf call the VM may have changed it.

Implementation

int get errno => (_macos ? _errnoMacos() : _errnoLinux()).value;