lv_strndup

Function lv_strndup 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn lv_strndup( string: *const c_char, size: usize, ) -> *mut c_char
Expand description

Duplicate a string up to a given size

ยงSafety

This function is unsafe because it dereferences raw pointers.