dr_register_fork_init_event

Function dr_register_fork_init_event 

Source
pub unsafe extern "C" fn dr_register_fork_init_event(
    func: Option<unsafe extern "C" fn(drcontext: *mut c_void)>,
)
Expand description

Registers a callback function for the fork event. DR calls \p func whenever the application forks a new process. \note Valid on Linux only.