summaryrefslogtreecommitdiff
path: root/src/util/map.h
blob: 67beb9c4f4a8fd7fc9efdae71912e3ef898473e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <sys/stat.h>

struct map {
  char *addr;
  char *end;
  struct stat sb;
  int fd;
};

struct map *open_map(const char *fname);
void close_map(struct map *m);