Skip to main content

strlen

Function strlen 

Source
pub unsafe extern "C" fn strlen(s: *const c_char) -> usize
Expand description

Returns the length in bytes of the NUL-terminated string s.

ยงSafety

s must be non-null and point to a valid NUL-terminated C string.