mmap Compatibility Wrapper

class mmstats._mmap.MmapInfo

MmapInfo(fd, size, pointer)

fd

Alias for field number 0

pointer

Alias for field number 2

size

Alias for field number 1

mmstats._mmap.init_mmap(filename, size=4096)[source]

Create an mmap given a location filename and minimum size in bytes

Returns an MmapInfo tuple with the file descriptor, actual size, and a pointer to the begging of the mmap.

Note that the size returned is rounded up to the nearest PAGESIZE.

Read the Docs v: latest
Versions
latest
v0.7.1
v0.7.0
v0.6.2
Downloads
PDF
HTML
Epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.