aboutsummaryrefslogtreecommitdiff
path: root/lib/std/process.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-01-29 14:16:25 -0800
committerAndrew Kelley <andrew@ziglang.org>2025-02-06 14:23:23 -0800
commit284de7d957037c8a7032bd6e2a95bd5f55b73666 (patch)
tree852d4ef1e8fd8c052485fd38d0dcdfafd28594bb /lib/std/process.zig
parent439667be0476f5bf60f3efbb82a3c4d5aae96ee4 (diff)
downloadzig-284de7d957037c8a7032bd6e2a95bd5f55b73666.tar.gz
zig-284de7d957037c8a7032bd6e2a95bd5f55b73666.zip
adjust runtime page size APIs
* fix merge conflicts * rename the declarations * reword documentation * extract FixedBufferAllocator to separate file * take advantage of locals * remove the assertion about max alignment in Allocator API, leaving it Allocator implementation defined * fix non-inline function call in start logic The GeneralPurposeAllocator implementation is totally broken because it uses global state but I didn't address that in this commit.
Diffstat (limited to 'lib/std/process.zig')
-rw-r--r--lib/std/process.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/process.zig b/lib/std/process.zig
index 0e10128e0e..dd08e88af2 100644
--- a/lib/std/process.zig
+++ b/lib/std/process.zig
@@ -1560,7 +1560,7 @@ pub fn posixGetUserInfo(name: []const u8) !UserInfo {
ReadGroupId,
};
- var buf: [std.heap.min_page_size]u8 = undefined;
+ var buf: [std.heap.page_size_min]u8 = undefined;
var name_index: usize = 0;
var state = State.Start;
var uid: posix.uid_t = 0;