#include <io.h>
Public Attributes | |
IOFileRef(* | open )(const char *path, int mode) |
int(* | close )(IOFileRef f) |
int(* | seek )(IOFileRef f, off_t offset, int whence) |
int(* | read )(IOFileRef f, void *buf, size_t count) |
off_t(* | filesize )(IOFileRef f) |
void *(* | mmap )(IOFileRef f, size_t l, off_t offset) |
int(* | munmap )(IOFileRef f, void *addr, size_t l) |
Definition at line 38 of file io.h.
int(* io_methods::close)(IOFileRef f) |
close method
IOFileRef(* io_methods::open)(const char *path, int mode) |
open method
int(* io_methods::read)(IOFileRef f, void *buf, size_t count) |
read method
int(* io_methods::seek)(IOFileRef f, off_t offset, int whence) |
seek in the file