Function simics_api_sys::bindings::frags_extract_slice_alloc
source ยท pub unsafe extern "C" fn frags_extract_slice_alloc(
buf: *const frags_t,
offset: usize,
len: usize,
) -> *mut c_void
Expand description
Return an allocated copy of a slice of size len, starting at offset offset, of the contents of
buf. The return value is allocated withThis function is equivalent to allocating a buffer of the correct size
with