feature. See also
. The project being documented here (as the example) is the Zig library itself.
linux.PROT
pub const PROT = switch (native_arch)
File
Code
pub const PROT = switch (native_arch) {
.mips, .mipsel, .mips64, .mips64el, .xtensa, .xtensaeb => packed struct(u32) {
READ: bool = false,
WRITE: bool = false,
EXEC: bool = false,
_: u1 = 0,
SEM: bool = false,
__: u19 = 0,
GROWSDOWN: bool = false,
GROWSUP: bool = false,
___: u6 = 0,
},
else => packed struct(u32) {
READ: bool = false,
WRITE: bool = false,
EXEC: bool = false,
SEM: bool = false,
__: u20 = 0,
GROWSDOWN: bool = false,
GROWSUP: bool = false,
___: u6 = 0,
},
}