polkavm_linux_raw

Function sys_mmap

Source
pub unsafe fn sys_mmap(
    address: *mut c_void,
    length: usize,
    protection: c_uint,
    flags: c_uint,
    fd: Option<FdRef<'_>>,
    offset: c_ulong,
) -> Result<*mut c_void, Error>