pub fn register_user_signal( signum: c_int, fd: i32, all_threads: bool, chain: bool, handler: extern "C" fn(c_int), ) -> Result<()>