30 int msync(
void* addr,
size_t length,
bool async);
34 int open(
const char* path,
int flags,
int mode);
36 void close(
const int fd);
std::string filename(char const *path)
int open(const char *path, int flags, int mode)
void * checked_mmap(const int fd, const size_t sz)
::FILE * fopen(const char *filename, const char *mode)
int msync(void *addr, size_t length, bool async)
void checked_munmap(void *addr, size_t length)
size_t file_size(const int fd)