zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 7c68ab1d1085925ec33dc0f8a6695006b2d7a85d (tree)
parent cbe38f771c0cb7d098878e8e703ed23620f868f7
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Fri, 30 Jan 2026 23:47:42 +0100

std.os.linux: add MAP.DROPPABLE

Introduced in Linux 6.11.

Diffstat:
Mlib/std/os/linux.zig | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/lib/std/os/linux.zig b/lib/std/os/linux.zig @@ -146,6 +146,7 @@ pub const MAP_TYPE = enum(u4) { SHARED = 0x01, PRIVATE = 0x02, SHARED_VALIDATE = 0x03, + DROPPABLE = 0x08, }; pub const MAP = switch (native_arch) {