pub unsafe extern "C" fn xmlMemStrdupImpl(
str: *const c_char,
) -> *mut c_voidExpand description
Duplicate a C string using the configured allocator.
§UPSTREAM-PARITY
void *xmlMemStrdup(const char *str);Returns a pointer to the newly allocated copy, or NULL on failure.
§SAFETY
strmust be a valid null-terminated C string or NULL- The returned pointer must be freed with
xmlFreeBacking the exportedxmlMemStrdupdata global.