From fb1bd78908ed70b00c1bf5d7d37ad216925f6db2 Mon Sep 17 00:00:00 2001 From: Ryan Liptak Date: Sun, 16 Nov 2025 04:07:48 -0800 Subject: [PATCH] process.getenvW: Document that returned memory points to the PEB --- lib/std/process.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/std/process.zig b/lib/std/process.zig index ce4f615dda..9ef6a722bb 100644 --- a/lib/std/process.zig +++ b/lib/std/process.zig @@ -529,6 +529,7 @@ pub fn hasNonEmptyEnvVar(allocator: Allocator, key: []const u8) HasEnvVarError!b } /// Windows-only. Get an environment variable with a null-terminated, WTF-16 encoded name. +/// The returned slice points to memory in the PEB. /// /// This function performs a Unicode-aware case-insensitive lookup using RtlEqualUnicodeString. ///