Skip to main content

handler_type

Function handler_type 

Source
pub fn handler_type(handler: u64) -> String
Expand description

Describe the handler type based on the raw sa_handler value.

  • 0 maps to "SIG_DFL" (default disposition).
  • 1 maps to "SIG_IGN" (signal ignored).
  • Any other value is formatted as a 16-digit hex address.