Skip to main content

CatchSignals

Function CatchSignals 

Source
pub unsafe extern "C" fn CatchSignals(
    SigHandler: Option<unsafe extern "C" fn(arg1: c_int)>,
) -> c_int
Expand description

Traps common signals that by default cause the program to abort. Sets (pointer to function) Handler as the signal handler for all. Note that SIGKILL usually cannot be caught. No return value.