swh:1:snp:ff2a11cd2e44dd19ec3814028ef2ce6605664e63
Raw File
Tip revision: b7cc62cadded212a9921d1f9905f22afbbdd1d95 authored by Eric Fischer on 13 April 2017, 00:00:18 UTC
Reduce number of input threads if needed to avoid using too many files
Tip revision: b7cc62c
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