#[no_mangle] pub unsafe extern "C" fn strlen(s: *const c_char) -> size_t
calculate the length of a string, excluding the terminating null byte