Revision bb365bde4450cfd94714f39a3a3476cf242b711c authored by Eric Fischer on 11 April 2017, 23:32:32 UTC, committed by Eric Fischer on 11 April 2017, 23:32:32 UTC
1 parent da92b93
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