Skip to main content

strlen

Function strlen 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn strlen(s: *const c_char) -> size_t
Expand description

See https://pubs.opengroup.org/onlinepubs/9799919799/functions/strlen.html.

Returns the number of bytes in the string to which s points, not including the NUL character.

Always successful. The return value never represents an error.