Revision 94db232a89cc79158aa515d2b0ffed946edfcb9b authored by Eric Fischer on 27 April 2016, 19:38:04 UTC, committed by Eric Fischer on 27 April 2016, 19:38:04 UTC
1 parent d32d4bb
Raw File
memfile.h
struct memfile {
	int fd;
	char *map;
	long long len;
	long long off;
	long long tree;
};

struct memfile *memfile_open(int fd);
int memfile_close(struct memfile *file);
int memfile_write(struct memfile *file, void *s, long long len);
back to top