OmniSciDB  6686921089
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
omnisci_fs.cpp File Reference
#include "OSDependent/omnisci_fs.h"
#include <sys/fcntl.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include "Logger/Logger.h"
+ Include dependency graph for omnisci_fs.cpp:

Go to the source code of this file.

Namespaces

 omnisci
 

Functions

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