Enum mmap::MapOption
[−]
[src]
pub enum MapOption { MapReadable, MapWritable, MapExecutable, MapAddr(*const u8), MapFd(c_int), MapOffset(usize), MapNonStandardFlags(c_int), }
Options the memory map is created with
Variants
MapReadable | The memory should be readable |
MapWritable | The memory should be writable |
MapExecutable | The memory should be executable |
MapAddr | Create a map for a specific address range. Corresponds to |
MapFd | Create a memory mapping for a file with a given fd. |
MapOffset | When using |
MapNonStandardFlags | On POSIX, this can be used to specify the default flags passed to
|