Skip to main content

dds_realloc_zero

Function dds_realloc_zero 

Source
pub unsafe extern "C" fn dds_realloc_zero(
    ptr: *mut c_void,
    size: usize,
) -> *mut c_void
Expand description

@brief Perform a realloc() with the default allocator. Zero out memory. @component memory_alloc

@param[in] ptr previously alloc()’ed pointer @param[in] size new size @return new pointer or NULL if out of memory