//
pkg.gl
Category
github.com/funbinary/go_example
pkg
mmap
package
0.0.0-20230421053604-b3f7bda99619
Repository:
https://github.com/funbinary/go_example.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
1
Files
109 SLOC
#
Functions
Map
Map maps an entire file into memory.
MapRegion
MapRegion maps part of a file into memory.
#
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
If EXEC is set, the mapped memory is marked as executable.
RDONLY
RDONLY maps the memory read-only.
RDWR
RDWR maps the memory as read-write.
#
Type aliases
MMap
MMap represents a file mapped into memory.