Revision 5bdbb8a91180800fca6ff612a05e32f7b06b4d19 authored by Eric Fischer on 20 February 2017, 19:47:01 UTC, committed by Eric Fischer on 20 February 2017, 19:47:01 UTC
1 parent 55e7e20
Raw File
memfile.hpp
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