Function mupdf_sys::fz_strnlen
source · pub unsafe extern "C" fn fz_strnlen(
s: *const c_char,
maxlen: usize
) -> usize
Expand description
Return strlen(s), if that is less than maxlen, or maxlen if there is no null byte (‘\0’) among the first maxlen bytes.