Headers mman.h(3HEAD)
NAME
mman.h, mman - memory management declarations
SYNOPSIS
#include
DESCRIPTION
The
o the Memory Mapped Files option o the Shared Memory Objects option o the Process Memory Locking option o the Memory Protection option o the Synchronized Input and Output option For Memory Mapped Files and Shared Memory Objects options, the following protection options are defined:header supports the following options: PROT_READ Page can be read.
PROT_WRITE Page can be written.
PROT_EXEC Page can be executed.
PROT_NONE Page cannot be accessed.
The following flag options are defined:MAP_SHARED Share changes.
MAP_PRIVATE Changes are private.
MAP_FIXED Interpret addr exactly.
The flags immediately following are defined for msync(). See msync(3C).SunOS 5.11 Last change: 5 Feb 2008 1
Headers mman.h(3HEAD)
MS_ASYNC Perform asynchronous writes.
MS_SYNC Perform synchronous writes.
MS_INVALIDATE Invalidate mappings.
The symbolic constants immediately following are defined for the mlockall() function. See mlockall(3C).MCL_CURRENT Lock currently mapped pages.
MCL_FUTURE 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. See types(3HEAD). ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| Standard | See standards(5). ||_____________________________|_____________________________|
SEE ALSO
mmap(2), mprotect(2), munmap(2), madvise(3C), mlock(3C),mlockall(3C), msync(3C), shm_open(3C), shm_unlink(3C),
attributes(5), standards(5)SunOS 5.11 Last change: 5 Feb 2008 2