mirror of
https://github.com/ziglang/zig.git
synced 2026-03-11 21:59:52 +00:00
The switch from @bitCast() to @intCast() here safety-checks Linux's assertion that these 3 calls never return errors (negative values as pid_t). getppid() can legally return 0 if the parent is in a different pid namespace, but this is not an error.