mman(5)mman(5)NAMEmman - memory mapping definitions
SYNOPSISDESCRIPTION
The header defines the following symbolic constants for use with the
function:
No further special treatment.
Expect random page references.
Expect sequential page references.
Will need these pages.
Will not need these pages.
Ensure that resources are reserved.
The following symbolic constants are defined for use with the and func‐
tions:
Region can be read.
Region can be written.
Region can be executed.
Region cannot be accessed.
The following symbolic constants are defined for use with the function:
Map a file.
Map an unnamed memory region.
Place region at implementation-computed address.
Place region at specified address.
Share changes made to mapped region.
Changes to mapped region are private to a process.
The following symbolic constants are defined for use with the function:
Perform synchronous writes.
Perform asynchronous writes.
Invalidate cached pages.
The following symbolic constants are defined for use with the and func‐
tions:
Create semaphore in locked state.
Create semaphore in unlocked state.
Do not wait if semaphore is locked.
Do not unlock if semaphore has no waiters.
The is defined for use with the and functions.
SEE ALSOmmap(2), munmap(2), mprotect(2), msync(2), madvise(2), msem_init(2),
msem_remove(2), msem_lock(2), msem_unlock(2).
mman(5)