Revision 56e1f55bb6b40c13196e7c5ec87ad91354e7962b authored by Eric Fischer on 14 December 2016, 01:46:38 UTC, committed by Eric Fischer on 14 December 2016, 01:54:55 UTC
1 parent 3e4fcd2
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