ldas-tools-al  2.6.5
Namespaces | Macros | Functions | Variables
fstream.cc File Reference
#include <iostream>
#include "ldastoolsal/fstream.hh"
#include <sys/stat.h>
#include <sys/mman.h>
#include <unistd.h>
#include <fcntl.h>
Include dependency graph for fstream.cc:

Namespaces

 anonymous_namespace{fstream.cc}
 
 LDASTools
 Objects of general use and interst.
 
 LDASTools::AL
 The Abstraction Layer.
 

Macros

#define O_ACCMODE   ( O_RDONLY | O_WRONLY | O_RDWR )
 
#define ULL(x)   ( (unsigned long long)x )
 
#define MAP_FAILED   -1
 
#define _STLP_LF   10
 
#define _STLP_CR   13
 
#define _STLP_CTRLZ   26
 

Functions

ios_base::openmode anonymous_namespace{fstream.cc}::flag_to_openmode (int mode)
 
bool anonymous_namespace{fstream.cc}::__is_regular_file (_STLP_fd fd)
 
streamoff anonymous_namespace{fstream.cc}::__file_size (_STLP_fd fd)
 

Variables

const std::streamoff LDASTools::AL::MMAP_CHUNK = std::streamoff( 0x100000UL )
 

Macro Definition Documentation

◆ _STLP_CR

#define _STLP_CR   13

◆ _STLP_CTRLZ

#define _STLP_CTRLZ   26

◆ _STLP_LF

#define _STLP_LF   10

◆ MAP_FAILED

#define MAP_FAILED   -1

◆ O_ACCMODE

#define O_ACCMODE   ( O_RDONLY | O_WRONLY | O_RDWR )

◆ ULL

#define ULL (   x)    ( (unsigned long long)x )