| parrotcode: IO Layer for mmaped files | |
| Contents | C |

io/io_mmap.c - IO Layer for mmaped files

Open mmaps the file.
*/
/*

static ParrotIO *PIO_mmap_open(theINTERP, ParrotIOLayer *layer, const char *path, INTVAL flags)Open function.static size_t PIO_mmap_read(theINTERP, ParrotIOLayer *layer, ParrotIO *io, STRING ** buf)read() to return up to len bytes in the memory starting at buffer.static INTVAL PIO_mmap_close(theINTERP, ParrotIOLayer *layer, ParrotIO *io)*io's file descriptor.
io/io_passdown.c, io/io.c, io/io_layers.c, io/io_private.h.

Initially written by Leo.
|
|
|