#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
Go to the source code of this file.
|
static int | readfn (void *handler, char *buf, int size) |
|
static int | writefn (void *handler, const char *buf, int size) |
|
static fpos_t | seekfn (void *handler, fpos_t offset, int whence) |
|
static int | closefn (void *handler) |
|
FILE * | fmemopen (void *buf, size_t size, const char *mode) |
| A BSD port of the fmemopen Linux method using funopen. More...
|
|
static int closefn |
( |
void * |
handler | ) |
|
|
static |
FILE* fmemopen |
( |
void * |
buf, |
|
|
size_t |
size, |
|
|
const char * |
mode |
|
) |
| |
static int readfn |
( |
void * |
handler, |
|
|
char * |
buf, |
|
|
int |
size |
|
) |
| |
|
static |
static fpos_t seekfn |
( |
void * |
handler, |
|
|
fpos_t |
offset, |
|
|
int |
whence |
|
) |
| |
|
static |
static int writefn |
( |
void * |
handler, |
|
|
const char * |
buf, |
|
|
int |
size |
|
) |
| |
|
static |