31 int msync(
void* addr,
size_t length,
bool async);
35 int open(
const char* path,
int flags,
int mode);
37 void close(
const int fd);
41 ::FILE*
popen(
const char* command,
const char*
type);
43 int32_t
pclose(::FILE* fh);
47 int32_t
ftruncate(
const int32_t fd, int64_t length);
int32_t pclose(::FILE *fh)
::FILE * popen(const char *command, const char *type)
future< Result > async(Fn &&fn, Args &&...args)
int open(const char *path, int flags, int mode)
::FILE * fopen(const char *filename, const char *mode)
int msync(void *addr, size_t length, bool async)
std::string filename(char const *path)
void checked_munmap(void *addr, size_t length)
int32_t ftruncate(const int32_t fd, int64_t length)
size_t file_size(const int fd)
void * checked_mmap(const int fd, const size_t sz)