Function simics_api_sys::bindings::realloc

source ยท
pub unsafe extern "C" fn realloc(
    __ptr: *mut c_void,
    __size: c_ulong,
) -> *mut c_void
Expand description

Re-allocate the previously allocated block in PTR, making the new block SIZE bytes long. / / attribute_malloc is not used, because if realloc returns the same pointer that was passed to it, aliasing needs to be allowed between objects pointed by the old and new pointers.