Function axlibc::strnlen

source ·
#[no_mangle]
pub unsafe extern "C" fn strnlen(
    s: *const c_char,
    size: size_t
) -> size_t
Expand description

calculate the length of a string like strlen, but at most maxlen.