Information about a signal received via a Sigfd.
struct SigfdInfo {
signo: u32,
errno: i32,
code: i32,
pid: u32,
uid: u32,
fd: i32,
tid: u32,
band: u32,
overrun: u32,
trapno: u32,
status: i32,
int: i32,
ptr: u64,
utime: u64,
stime: u64,
addr: u64,
addr_lsb: u16,
padding: [u8; 46],
}| Name | Description |
|---|---|
| signo | The signal number. |
| errno | Unused. |
| code | Signal code. |
| pid | Sending process id. |
| uid | Real user id of the sending process. |
| fd | Ready file descriptor. |
| tid | Timer id. |
| band | Band event. |
| overrun | Timer overrruns. |
| trapno | Trap number. |
| status | Exit status. |
| int | Integer. |
| ptr | Pointer. |
| utime | User CPU time consumed. |
| stime | System CPU time consumed. |
| addr | Address that generated the signal. |
| addr_lsb | Least significant bit of address. |
| padding |
| Name | Description |
|---|---|
| new | Creates a new, empty SigfdInfo. |
| Receiver | Name | Description |
|---|---|---|
&self | signal | Returns the signal that generated the information. |
| Name | Description |
|---|---|
| Clone | Objects that can be duplicated. |
| Copy | Objects that can safely be copied via |
| MaybeClone | Objects that can be duplicated. |
| Pod | Objects that are safe to use if they contain a random bit pattern. |