Revision 10bd608b9e3441422329a5ed272886f94ccf011d authored by Eric Fischer on 19 October 2015, 18:58:01 UTC, committed by Eric Fischer on 19 October 2015, 18:58:01 UTC
2 parent s 3ad499f + 89e1640
Raw File
memfile.h
struct memfile {
	int fd;
	char *map;
	long long len;
	long long off;
};

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