Enum FileMappingModeFlags to determine the mapping mode of mapFileSegment.
Flags to determine the mapping mode of mapFileSegment.
Defined in | <seqan/file.h> |
---|---|
Signature |
enum FileMappingMode;
|
Enum Values
MAP_RDONLY = 1 |
Map the segment in read-only mode.
|
---|---|
MAP_WRONLY = 2 |
Map the segment in write-only mode.
|
MAP_RDWR = 3 |
Map the segment for reading and writing.
|
MAP_COPYONWRITE = 4 |
Write accesses are not written back to file and not shared among different mappings.
|
Detailed Description
The mapping mode must be compatible to the open mode of a FileMapping, e.g. MAP_RDWR is not allowed if the file mapping was opened with OPEN_RDONLY.