[][src]Function mynewt::kernel::os::os_realloc

pub unsafe extern "C" fn os_realloc(
    ptr: *mut c_void,
    size: usize
) -> *mut c_void

Operating system level realloc(). See description of os_malloc() for reasoning.

Reallocates the memory at ptr, to be size contiguouos bytes.

Return: A pointer to memory of size, or NULL on failure to allocate