1#ifndef MEMORY_H
2#define MEMORY_H
3
4#include "common.h"
5
6#define MEMORY_READ 1
7#define MEMORY_WRITE 2
8
9void* anonymousMemoryMap(size_t size);
10void* fileMemoryMap(int fd, size_t size, int flags);
11void mappedMemoryFree(void* memory, size_t size);
12
13#endif