xila_string_get_length_bounded

Function xila_string_get_length_bounded 

Source
pub unsafe extern "C" fn xila_string_get_length_bounded(
    str_: *const c_char,
    maxlen: usize,
) -> usize
Expand description

Get the length of a null-terminated string with maximum length

ยงSafety

This function is unsafe because it dereferences raw pointers.