pub unsafe fn string_duplicate_bounded( string: *const c_char, max_length: usize, ) -> *mut c_char
Duplicate a string up to a maximum length
This function is unsafe because it dereferences raw pointers.