Revision 4f419ae9b2a970161972bbf3357b8072ae66058b authored by Eric Fischer on 11 February 2016, 20:22:22 UTC, committed by Eric Fischer on 11 February 2016, 20:22:22 UTC
1 parent 0fa3054
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