zig/lib/std/os
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
..
bits std: [breaking] move errno to become an nonexhaustive enum 2021-08-24 01:23:28 -04:00
linux std: [breaking] move errno to become an nonexhaustive enum 2021-08-24 01:23:28 -04:00
uefi AstGen: detect redeclaration of function parameters 2021-07-02 13:27:35 -07:00
windows windows/kernel32: add LocalFree, SetThreadDescription and GetThreadDescription 2021-07-29 10:57:08 +02:00
bits.zig Move iovec and log levels to bits/posix.zig 2021-08-02 11:05:05 +00:00
darwin.zig std: change @import("builtin") to std.builtin 2021-04-15 19:06:39 -07:00
dragonfly.zig Year++ 2020-12-31 15:45:24 -08:00
freebsd.zig Year++ 2020-12-31 15:45:24 -08:00
haiku.zig initial support for haiku past stage0 2021-02-25 16:41:42 -07:00
linux.zig std: [breaking] move errno to become an nonexhaustive enum 2021-08-24 01:23:28 -04:00
netbsd.zig Year++ 2020-12-31 15:45:24 -08:00
openbsd.zig Year++ 2020-12-31 15:45:24 -08:00
test.zig std.os: (p)writev should perform partial writes if iov.len > IOV_MAX 2021-08-22 22:22:53 +03:00
uefi.zig fix code broken from previous commit 2021-06-21 17:03:03 -07:00
wasi.zig std: [breaking] move errno to become an nonexhaustive enum 2021-08-24 01:23:28 -04:00
windows.zig windows: add wrappers for LocalFree, SetThreadDescription and GetThreadDescription 2021-07-29 10:57:08 +02:00