Skip to main content

string_get_length

Function string_get_length 

Source
pub unsafe fn string_get_length(str: *const c_char) -> usize
Expand description

Get the length of a null-terminated string

ยงSafety

This function is unsafe because it dereferences raw pointers.