[−][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.
ptr
: A pointer to the memory to allocatesize
: The number of contiguouos bytes to allocate at that location
Return: A pointer to memory of size, or NULL on failure to allocate