twizzler_rt_abi::bindings

Function twz_rt_realloc

source
pub unsafe extern "C-unwind" fn twz_rt_realloc(
    ptr: *mut c_void,
    sz: usize,
    align: usize,
    new_size: usize,
    flags: alloc_flags,
) -> *mut c_void
Expand description

Reallocate memory. If ZERO_MEMORY is set, will zero new memory before returning and zero to-be-freed memory before freeing.