[][src]Function transmission_sys::tr_memdup

pub unsafe extern "C" fn tr_memdup(
    src: *const c_void,
    byteCount: usize
) -> *mut c_void

@brief make a newly-allocated copy of a chunk of memory @param src the memory to copy @param byteCount the number of bytes to copy @return a newly-allocated copy of `src' that can be freed with tr_free()