Type stack_t [src]

Source

pub const stack_t = switch (native_os) { .linux => linux.stack_t, .emscripten => emscripten.stack_t, .freebsd, .openbsd => extern struct { /// Signal stack base. sp: *anyopaque, /// Signal stack length. size: usize, /// SS_DISABLE and/or SS_ONSTACK. flags: i32, }, // https://github.com/SerenityOS/serenity/blob/ec492a1a0819e6239ea44156825c4ee7234ca3db/Kernel/API/POSIX/signal.h#L48-L52 .serenity => extern struct { sp: *anyopaque, flags: c_int, size: usize, }, else => extern struct { sp: [*]u8, size: isize, flags: i32, }, }