zig/lib/std/os/bits/linux/errno
Andrew Kelley a98fa56ae9 std: [breaking] move errno to become an nonexhaustive enum
The primary purpose of this change is to eliminate one usage of
`usingnamespace` in the standard library - specifically the usage for
errno values in `std.os.linux`.

This is accomplished by truncating the `E` prefix from error values, and
making errno a proper enum.

A similar strategy can be used to eliminate some other `usingnamespace`
sites in the std lib.
2021-08-24 01:23:28 -04:00
..
generic.zig std: [breaking] move errno to become an nonexhaustive enum 2021-08-24 01:23:28 -04:00
mips.zig std: [breaking] move errno to become an nonexhaustive enum 2021-08-24 01:23:28 -04:00
sparc.zig std: [breaking] move errno to become an nonexhaustive enum 2021-08-24 01:23:28 -04:00