- memory management declarations
The <sys/mman.h> header supports the following options:
the Memory Mapped Files option
the Shared Memory Objects option
the Process Memory Locking option
the Memory Protection option
the Synchronized Input and Output option
For Memory Mapped Files and Shared Memory Objects options, the following protection options are defined:
Page can be read.
Page can be written.
Page can be executed.
Page cannot be accessed.
The following flag options are defined:
Changes are private.
Interpret addr exactly.
The flags immediately following are defined for msync(). See msync(3C).
Perform asynchronous writes.
Perform synchronous writes.
The symbolic constants immediately following are defined for the mlockall() function. See mlockall(3C).
Lock currently mapped pages.
Lock pages that become mapped.
The symbolic constant MAP_FAILED is defined to indicate a failure from the mmap() function. See mmap(2).
The mode_t, off_t, and size_t types are be defined as described in <sys/types.h>. See types(3HEAD).
See attributes(5) for descriptions of the following attributes: