zig/lib/std/os/linux
Andrew Kelley e8c4e79499 std.c reorganization
It is now composed of these main sections:
* Declarations that are shared among all operating systems.
* Declarations that have the same name, but different type signatures
  depending on the operating system. Often multiple operating systems
  share the same type signatures however.
* Declarations that are specific to a single operating system.
  - These are imported one per line so you can see where they come from,
    protected by a comptime block to prevent accessing the wrong one.

Closes #19352 by changing the convention to making types `void` and
functions `{}`, so that it becomes possible to update `@hasDecl` sites
to use `@TypeOf(f) != void` or `T != void`. Happily, this ended up
removing some duplicate logic and update some bitrotted feature
detection checks.

A handful of types have been modified to gain namespacing and type
safety. This is a breaking change.

Oh, and the last usage of `usingnamespace` site is eliminated.
2024-07-19 00:30:32 -07:00
..
bpf linux/bpf: update helper definitions 2023-11-19 19:01:18 +02:00
arm-eabi.zig std.c reorganization 2024-07-19 00:30:32 -07:00
arm64.zig std.c reorganization 2024-07-19 00:30:32 -07:00
bpf.zig std: fix typos (#20560) 2024-07-09 14:25:42 -07:00
io_uring_sqe.zig std.posix.iovec: use .base and .len instead of .iov_base and .iov_len 2024-04-28 00:20:30 -07:00
ioctl.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
IoUring.zig std.c reorganization 2024-07-19 00:30:32 -07:00
mips.zig std.c reorganization 2024-07-19 00:30:32 -07:00
mips64.zig std.c reorganization 2024-07-19 00:30:32 -07:00
powerpc.zig std.c reorganization 2024-07-19 00:30:32 -07:00
powerpc64.zig std.c reorganization 2024-07-19 00:30:32 -07:00
riscv64.zig std.c reorganization 2024-07-19 00:30:32 -07:00
seccomp.zig std.builtin.Endian: make the tags lower case 2023-10-31 21:37:35 -04:00
sparc64.zig std.c reorganization 2024-07-19 00:30:32 -07:00
start_pie.zig Fix slight deviation from spec in handling Elf*_Rela relative relocations 2024-06-08 16:02:47 -04:00
syscalls.zig generate loongarch64 Linux syscalls 2024-06-05 18:54:14 -04:00
test.zig std.c reorganization 2024-07-19 00:30:32 -07:00
thumb.zig std: finish cleanup up asm 2023-07-31 03:49:21 -04:00
tls.zig extract std.posix from std.os 2024-03-19 11:45:09 -07:00
vdso.zig extract std.posix from std.os 2024-03-19 11:45:09 -07:00
x86.zig std.c reorganization 2024-07-19 00:30:32 -07:00
x86_64.zig std.c reorganization 2024-07-19 00:30:32 -07:00