zig/lib/std/c
Isaac Freund 5f2bdafa39 std.posix: remove unchecked std.os.linux usage
Using std.os.linux directly in e.g. std.posix.timerfd_create() causes
the function to compile but silently fail at runtime when targeting any
OS other than Linux.

To catch errors like this at compile time, std.os.linux must only be
directly accessed within std.posix where there has been a comptime check
that the target os is in fact Linux.
2024-06-18 22:35:28 +02:00
..
darwin darwin: update mcontext_t definition for aarch64 to add neon state 2023-07-20 22:58:14 -04:00
darwin.zig std: fix pthread_{get,set}name_np return type ABI 2024-06-17 23:26:53 +02:00
dragonfly.zig std: fix pthread_{get,set}name_np return type ABI 2024-06-17 23:26:53 +02:00
emscripten.zig std: make all dirent structs extern 2024-06-17 23:26:53 +02:00
freebsd.zig cbe: rewrite CType 2024-03-30 20:50:48 -04:00
haiku.zig haiku: fix directory iteration 2024-04-08 13:20:14 -04:00
linux.zig std.posix: remove unchecked std.os.linux usage 2024-06-18 22:35:28 +02:00
netbsd.zig std: fix pthread_{get,set}name_np return type ABI 2024-06-17 23:26:53 +02:00
openbsd.zig cbe: rewrite CType 2024-03-30 20:50:48 -04:00
solaris.zig std: fix pthread_{get,set}name_np return type ABI 2024-06-17 23:26:53 +02:00
wasi.zig std.fs.Dir.openFile: use wasi libc API when -lc 2024-04-18 17:49:05 -07:00
windows.zig some API work on std.c, std.os, std.os.wasi 2024-02-11 13:38:55 -07:00