Type Alias linux_api::signal::stack_t

source ·
pub type stack_t = linux_stack_t;

Aliased Type§

struct stack_t {
    pub ss_sp: *mut c_void,
    pub ss_flags: i32,
    pub ss_size: u64,
}

Fields§

§ss_sp: *mut c_void§ss_flags: i32§ss_size: u64

Implementations§

source§

impl stack_t

source

pub fn new(sp: *mut c_void, flags: SigAltStackFlags, size: usize) -> Self

source

pub fn flags_retain(&self) -> SigAltStackFlags

source

pub fn sp(&self) -> *mut c_void

source

pub fn size(&self) -> usize