#[no_mangle] pub unsafe extern "C" fn strnlen( s: *const c_char, size: size_t ) -> size_t
calculate the length of a string like strlen, but at most maxlen.