zig/lib/std/os
Pat Tullmann 298b1886b2 std.os.linux: export kernel-sized sigset_t and operations
The kernel ABI sigset_t is smaller than the glibc one.  Define the
right-sized sigset_t and fixup the sigaction() wrapper to leverage it.
The Sigaction wrapper here is not an ABI, so relax it (drop the "extern"
and the "restorer" fields), the existing `k_sigaction` is the ABI
sigaction struct.

Linux defines `sigset_t` with a c_ulong, so it can be 32-bit or 64-bit,
depending on the platform.  This can make a difference on big-endian
systems.

Patch up `ucontext_t` so that this change doesn't impact its layout.
AFAICT, its currently the glibc layout.
2025-04-30 20:32:04 -07:00
..
linux std.os.linux: export kernel-sized sigset_t and operations 2025-04-30 20:32:04 -07:00
plan9 extract std.posix from std.os 2024-03-19 11:45:09 -07:00
uefi fix review 2025-04-04 12:42:28 +01:00
windows support more process creation options on Windows 2025-03-25 23:48:27 +01:00
emscripten.zig all: update to std.builtin.Type.Pointer.Size field renames 2025-01-16 12:46:29 +00:00
linux.zig std.os.linux: export kernel-sized sigset_t and operations 2025-04-30 20:32:04 -07:00
plan9.zig runtime page size detection 2025-02-06 14:23:23 -08:00
uefi.zig std.start: allow return uefi error union in main (#23425) 2025-04-01 17:10:10 +00:00
wasi.zig wasi: fix wasm-wasi-musl constants 2025-02-09 09:08:11 +01:00
windows.zig Fix Unexpected error for 1453 on Windows (#23729) 2025-04-30 22:48:16 +00:00