Function twz_rt_resolve_fot_local

Source
pub unsafe extern "C-unwind" fn twz_rt_resolve_fot_local(
    start: *mut c_void,
    idx: u64,
    valid_len: usize,
    flags: map_flags,
) -> *mut c_void
Expand description

Does the same as twz_rt_resolve_fot but optimizes for local pointers and avoids cloning handles if possible. Returns null on failure with no error code. Callers should try the twz_rt_resolve_fot function if this one fails.