packio-simple

view src/memmap.h @ 2:4767e7769c32

packio-simple has more chances to ever get done
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 09 Aug 2015 05:14:29 +0300
parents
children
line source
1 #ifndef MEMMAP_H_
2 #define MEMMAP_H_
4 struct mmfile {
5 void *ptr;
6 unsigned long size;
7 };
9 int map_file(struct mmfile *mm, const char *fname);
10 void unmap_file(struct mmfile *mm);
12 #endif /* MEMMAP_H_ */