Expand description
sys/mman.h implementation.
See https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/sys_mman.h.html.
Re-exports§
pub use self::sys::*;
Modules§
Constants§
- MADV_
DONTNEED - MADV_
NORMAL - MADV_
RANDOM - MADV_
SEQUENTIAL - MADV_
WILLNEED - MAP_
ANON - MAP_
ANONYMOUS - MAP_
FAILED - cbindgen:ignore
- MAP_
PRIVATE - MAP_
SHARED - MAP_
STACK - MAP_
TYPE - MCL_
CURRENT - MCL_
FUTURE - MREMAP_
MAYMOVE - MS_
ASYNC - MS_
INVALIDATE - MS_SYNC
- POSIX_
MADV_ NORMAL - POSIX_
MADV_ RANDOM - POSIX_
MADV_ SEQUENTIAL - POSIX_
MADV_ WILLNEED - POSIX_
MADV_ WONTNEED
Functions§
- madvise⚠
- Non-POSIX, see https://www.man7.org/linux/man-pages/man2/madvise.2.html.
- mlock⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/mlock.html.
- mlockall⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/mlockall.html.
- mmap⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/mmap.html.
- mprotect⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/mprotect.html.
- mremap⚠
- Non-POSIX, see https://www.man7.org/linux/man-pages/man2/mremap.2.html.
- msync⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/msync.html.
- munlock⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/mlock.html.
- munlockall⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/mlockall.html.
- munmap⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/munmap.html.
- shm_
open ⚠ - See https://pubs.opengroup.org/onlinepubs/9799919799/functions/shm_open.html.
- shm_
unlink ⚠ - See https://pubs.opengroup.org/onlinepubs/9799919799/functions/shm_unlink.html.