rustix::backend::c

Type Alias siginfo_t

Source
pub(crate) type siginfo_t = siginfo;

Aliased Type§

struct siginfo_t {
    pub __bindgen_anon_1: siginfo__bindgen_ty_1,
}

Fields§

§__bindgen_anon_1: siginfo__bindgen_ty_1

Trait Implementations§

Source§

impl SiginfoExt for siginfo_t

Source§

unsafe fn si_status(&self) -> c_int

Return the exit status or signal number recorded in a siginfo_t.

§Safety

si_signo must equal SIGCHLD (as it is guaranteed to do after a waitid call).

Source§

fn si_code(&self) -> c_int

Source§

impl Clone for siginfo

Source§

fn clone(&self) -> siginfo

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for siginfo