Documentation
¶
Overview ¶
Package rawmap provides memory-mapped file functionalities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MmapShared ¶
MmapShared returns the byte slice to the region of the memory-mapped file with the specified protection mode.
Types ¶
type ProtectionMode ¶
type ProtectionMode int
ProtectionMode is the type for supported protection modes.
const ( PROTMODE_READONLY ProtectionMode = iota PROTMODE_READWRITE )
The list of supported protection modes.
func (ProtectionMode) OpenFlag ¶
func (protmode ProtectionMode) OpenFlag() int
OpenFlag returns the corresponding flag used in os.OpenFile.
Click to show internal directories.
Click to hide internal directories.