NAME ^

src/io/io_mmap.c - IO Layer for mmaped files

DESCRIPTION ^

Open mmaps the file.

mmap layer functions ^

PIO_mmap_register_layer

TODO: Not yet documented!!!

PIO_mmap_open

The buffer layer's Open function.

PIO_mmap_read

Calls read() to return up to len bytes in the memory starting at buffer.

PIO_mmap_close

Closes *io's file descriptor.

SEE ALSO ^

src/io/io_passdown.c, src/io/io.c, src/io/io_layers.c, src/io/io_private.h.

HISTORY ^

Initially written by Leo.


parrot