Skip to main content

siginfo_t

Type Alias siginfo_t 

Source
pub type siginfo_t = siginfo;
Expand description

Aliased Type§

#[repr(C)]
pub struct siginfo_t { pub si_signo: i32, pub si_errno: i32, pub si_code: i32, pub si_pid: i32, pub si_uid: i32, pub si_addr: *mut c_void, pub si_status: i32, pub si_value: sigval, }

Fields§

§si_signo: i32

Signal number.

§si_errno: i32

If non-zero, an errno value associated with this signal.

§si_code: i32

Signal code.

§si_pid: i32

Sending process ID.

§si_uid: i32

Real user ID of sending process.

§si_addr: *mut c_void

Address that caused fault.

§si_status: i32

Exit value or signal.

§si_value: sigval

Signal value.

Trait Implementations§

Source§

impl From<SiginfoAbi> for siginfo_t

Source§

fn from(value: SiginfoAbi) -> Self

Converts to this type from the input type.