authorgravatar for squeek502@hotmail.comRyan Liptak <squeek502@hotmail.com> 2025-11-16 04:07:48-08:00
committergravatar for squeek502@hotmail.comRyan Liptak <squeek502@hotmail.com> 2025-11-18 20:07:39-08:00
logfb1bd78908ed70b00c1bf5d7d37ad216925f6db2
tree98aa0d666edb58d65de917bfed100fe1b4224706
parentadf74ba4fb86b9fa95739e9e6cb78bf93858e1a5

process.getenvW: Document that returned memory points to the PEB


1 files changed, 1 insertions(+), 0 deletions(-)

lib/std/process.zig+1
...@@ -529,6 +529,7 @@ pub fn hasNonEmptyEnvVar(allocator: Allocator, key: []const u8) HasEnvVarError!b...@@ -529,6 +529,7 @@ pub fn hasNonEmptyEnvVar(allocator: Allocator, key: []const u8) HasEnvVarError!b
529}529}
530530
531/// Windows-only. Get an environment variable with a null-terminated, WTF-16 encoded name.531/// Windows-only. Get an environment variable with a null-terminated, WTF-16 encoded name.
532/// The returned slice points to memory in the PEB.
532///533///
533/// This function performs a Unicode-aware case-insensitive lookup using RtlEqualUnicodeString.534/// This function performs a Unicode-aware case-insensitive lookup using RtlEqualUnicodeString.
534///535///