diff options
Diffstat (limited to 'src/util/map.h')
-rw-r--r-- | src/util/map.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/util/map.h b/src/util/map.h new file mode 100644 index 0000000..232720f --- /dev/null +++ b/src/util/map.h @@ -0,0 +1,10 @@ +#include <sys/stat.h> + +struct map { + char *addr; + struct stat sb; + int fd; +}; + +struct map *open_map(const char *fname); +void close_map(struct map *m); |