Function arceos_posix_api::sys_mmap

source ·
pub fn sys_mmap(
    start: *mut c_void,
    len: size_t,
    _prot: c_int,
    _flags: c_int,
    _fd: c_int,
    _off: off_t
) -> *mut c_void
Available on crate feature alloc only.
Expand description

Creates a new mapping in the virtual address space of the call‐ ing process.

TODO: Only support start equals to NULL, ignore fd, prot, flags