Function nstd_alloc::nstd_std_alloc_reallocate [−][src]
pub unsafe extern "C" fn nstd_std_alloc_reallocate(
ptr: *mut *mut u8,
size: usize,
new_size: usize
) -> c_intExpand description
Reallocates a memory block.
Parameters:
NSTDByte **ptr - Pointer to the memory block.
const NSTDUSize size - The current size of the memory block.
const NSTDUSize new_size - The new size of the memory block.
Returns: int errc - Nonzero on error.