Function CSTL_string_rfind_char

Source
pub unsafe extern "C" fn CSTL_string_rfind_char(
    instance: CSTL_StringCRef,
    ch: c_char,
    off: usize,
) -> usize
Expand description

Find the last before offset off occurence of the character ch and return its position from the start of the string.

If no match is found CSTL_string_npos is returned.