Skip to main content

Module mman

Module mman 

Source
Available on crate feature mman only.
Expand description

Memory management syscalls.

These system calls are similar to sys/mman.h.

These system calls are not very POSIX-like yet!

Structs§

MemoryProtection

Functions§

sys_mlock
sys_mlockall
sys_mmap
Creates a new virtual memory mapping of the size specified with protection bits specified in prot_flags.
sys_mprotect
Configures the protections associated with a region of virtual memory starting at ptr and going to size.
sys_munlock
sys_munlockall
sys_munmap
Unmaps memory at the specified ptr for size bytes.