io.mmap vocabulary - Factor Documentation (original) (raw)

io.mmap vocabulary
Factor handbook » Vocabulary index

Documentation
Memory-mapped files

Metadata

Parents: io
Tags: memory
Authors: Doug Coleman

Words

Tuple classes

Class Superclass Slots
bad-mmap-size tuple n
mapped-file disposable address handle length

Generic words

Word Stack effect
close-mapped-file ( mmap -- )

Ordinary words

Word Stack effect
( mmap c-type -- direct-array )
( path -- mmap )
( path -- mmap )
bad-mmap-size ( n -- * )
with-mapped-array ( path c-type quot -- )
with-mapped-array-reader ( path c-type quot -- )
with-mapped-file ( path quot -- )
with-mapped-file-reader ( path quot -- )

Class predicate words

Word Stack effect
bad-mmap-size? ( object -- ? )
mapped-file? ( object -- ? )

Files

resource:basis/io/mmap/mmap.factor
resource:basis/io/mmap/mmap-docs.factor
resource:basis/io/mmap/mmap-tests.factor

Metadata files

resource:basis/io/mmap/authors.txt
resource:basis/io/mmap/summary.txt
resource:basis/io/mmap/tags.txt

Children from resource:basis

Vocabulary Summary
io.mmap.unix
io.mmap.windows