Vocabulary
io.mmap

Inputs
patha pathname string
c-typea c-type
quota quotation


Outputs
None

Word description
Memory-maps a file for reading as a mapped-array of the given c-type. The mapped file is disposed of when the quotation returns, or if an error is thrown.

Errors
Throws an error if a memory mapping could not be established.

Definition