OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
heavyai_fs.cpp File Reference
#include "OSDependent/heavyai_fs.h"
#include <sys/stat.h>
#include <sys/types.h>
#include <fcntl.h>
#include <io.h>
#include "Shared/clean_windows.h"
#include <memoryapi.h>
#include "Logger/Logger.h"
+ Include dependency graph for heavyai_fs.cpp:

Go to the source code of this file.

Namespaces

 heavyai
 

Functions

size_t heavyai::file_size (const int fd)
 
void * heavyai::checked_mmap (const int fd, const size_t sz)
 
void heavyai::checked_munmap (void *addr, size_t length)
 
int heavyai::msync (void *addr, size_t length, bool async)
 
int heavyai::fsync (int fd)
 
int heavyai::open (const char *path, int flags, int mode)
 
void heavyai::close (const int fd)
 
::FILE * heavyai::fopen (const char *filename, const char *mode)
 
::FILE * heavyai::popen (const char *command, const char *type)
 
int32_t heavyai::pclose (::FILE *fh)
 
int heavyai::get_page_size ()
 
int32_t heavyai::ftruncate (const int32_t fd, int64_t length)