Skip to main content

xmlMallocZero

Function xmlMallocZero 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xmlMallocZero(size: usize) -> *mut c_void
Expand description

Allocate zero-initialized memory.

§UPSTREAM-PARITY

This is like xmlMalloc followed by memset(0), but some allocator hooks provide it directly.

§SAFETY

Same as xmlMalloc. The returned memory is zero-initialized.