Function xmlStrndup
Source #[unsafe(no_mangle)]
pub unsafe extern "C" fn xmlStrndup(
cur: *const xmlChar,
len: c_int,
) -> *mut xmlChar
Expand description
Duplicate a substring.
§UPSTREAM-PARITY
xmlChar *xmlStrndup(const xmlChar *cur, int len);
§SAFETY
cur must be a valid pointer or NULL.