xila_string_get_length_bounded

Function xila_string_get_length_bounded 

Source
#[unsafe(no_mangle)]
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.