diff options
| author | Brandon Black <bblack@wikimedia.org> | 2025-09-12 07:20:08 -0500 |
|---|---|---|
| committer | Brandon Black <bblack@wikimedia.org> | 2025-09-12 07:20:08 -0500 |
| commit | 6dbfba526f7b7cf1256c133d025b11409c97dda7 (patch) | |
| tree | d2b58d556ea8f61a38f87f6e98ce6556fa30fc93 /lib/std/Build/Cache.zig | |
| parent | 04071d64bb83c0600d445a2f4b2541e68a6021bf (diff) | |
| download | zig-6dbfba526f7b7cf1256c133d025b11409c97dda7.tar.gz zig-6dbfba526f7b7cf1256c133d025b11409c97dda7.zip | |
linux: Doc and check retval for no-fail pid calls
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.
Diffstat (limited to 'lib/std/Build/Cache.zig')
0 files changed, 0 insertions, 0 deletions
