aboutsummaryrefslogtreecommitdiff
path: root/lib/std/std.zig
diff options
context:
space:
mode:
authorBrandon Black <bblack@wikimedia.org>2025-09-12 07:20:08 -0500
committerBrandon Black <bblack@wikimedia.org>2025-09-12 07:20:08 -0500
commit6dbfba526f7b7cf1256c133d025b11409c97dda7 (patch)
treed2b58d556ea8f61a38f87f6e98ce6556fa30fc93 /lib/std/std.zig
parent04071d64bb83c0600d445a2f4b2541e68a6021bf (diff)
downloadzig-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/std.zig')
0 files changed, 0 insertions, 0 deletions