//
pkg.gl
Category
github.com/sirgallo/mmcmap
common
mmap
package
1.1.3
Repository:
https://github.com/sirgallo/mmcmap.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
3
Dependents
2
Files
70 SLOC
#
Packages
tests
No description provided by the author
#
Functions
Map
Map Memory maps an entire file.
MapRegion
MapRegion Memory maps a region of a file.
#
Constants
ANON
If the ANON flag is set, the mapped memory will not be backed by a file.
COPY
COPY: maps the memory as copy-on-write.
EXEC
EXEC: marks the mapped memory as executable.
RDONLY
RDONLY: maps the memory read-only.
RDWR
RDWR: maps the memory as read-write.
#
Type aliases
MMap
MMap The byte array representation of the memory mapped file in memory.