NAME ^

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

DESCRIPTION ^

Open mmaps the file.

mmap layer functions ^

ParrotIOLayer *PIO_mmap_register_layer

RT#48260: Not yet documented!!!

static ParrotIO *PIO_mmap_open

The buffer layer's Open function.

static size_t PIO_mmap_read

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

static INTVAL 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