Documentation ¶
Overview ¶
Package mmap provides an OS independent interface for memory mapped files
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Mapping ¶
type Mapping struct {
// contains filtered or unexported fields
}
type Mmap ¶
type Mmap struct {
// contains filtered or unexported fields
}
Mmap describes mappings for a file backed object
func New ¶
New creates a new memory map object for the given file. It is a runtime error for a file to be opened in RO mode while asking for a PROT_WRITE mapping.
func NewAnon ¶
func NewAnon() *Mmap
NewAnon creates a mmemory map object suitable for anon mappings.
Click to show internal directories.
Click to hide internal directories.