#[repr(C)]pub struct siginfo {
pub si_signo: c_int,
pub si_errno: c_int,
pub si_code: c_int,
pub si_pid: pid_t,
pub si_uid: uid_t,
pub si_addr: *mut c_void,
pub si_status: c_int,
pub si_value: sigval,
}Fields§
§si_signo: c_intSignal number.
si_errno: c_intIf non-zero, an errno value associated with this signal.
si_code: c_intSignal code.
si_pid: pid_tSending process ID.
si_uid: uid_tReal user ID of sending process.
si_addr: *mut c_voidAddress that caused fault.
si_status: c_intExit value or signal.
si_value: sigvalSignal value.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for siginfo
impl RefUnwindSafe for siginfo
impl !Send for siginfo
impl !Sync for siginfo
impl Unpin for siginfo
impl UnsafeUnpin for siginfo
impl UnwindSafe for siginfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more