zig/lib/std/c
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
..
darwin.zig std: [breaking] move errno to become an nonexhaustive enum 2021-08-24 01:23:28 -04:00
dragonfly.zig overhaul elf csu (c-runtime startup) logic 2021-05-23 15:38:57 -04:00
emscripten.zig organize std lib concurrency primitives and add RwLock 2021-01-14 20:41:37 -07:00
freebsd.zig std/c: add pthread_setname_np and pthread_getname_np 2021-07-29 10:57:08 +02:00
fuchsia.zig organize std lib concurrency primitives and add RwLock 2021-01-14 20:41:37 -07:00
haiku.zig std: fix compile errors found by stage2 AstGen 2021-04-29 20:33:29 -07:00
hermit.zig organize std lib concurrency primitives and add RwLock 2021-01-14 20:41:37 -07:00
linux.zig std: [breaking] move errno to become an nonexhaustive enum 2021-08-24 01:23:28 -04:00
minix.zig housekeeping: builtin.arch → builtin.cpu.arch 2021-05-24 13:38:47 -04:00
netbsd.zig std: [breaking] move errno to become an nonexhaustive enum 2021-08-24 01:23:28 -04:00
openbsd.zig std/c: add pthread_setname_np and pthread_getname_np 2021-07-29 10:57:08 +02:00
solaris.zig Year++ 2020-12-31 15:45:24 -08:00
tokenizer.zig std, src, doc, test: remove unused variables 2021-06-21 17:03:03 -07:00
wasi.zig WASI,libc: enable tests. 2021-07-27 09:01:00 +09:00
windows.zig Year++ 2020-12-31 15:45:24 -08:00