50 fd_ = open(name.c_str(), flags);
52 ERROR(
"Opening file " << name);
53 throw std::runtime_error (
"Open file error");
97 fd_ = open(name.c_str(), flags, mode);
99 ERROR(
"Opening file " << name);
100 throw std::runtime_error (
"Open file error");
113 int currentPosition =
::lseek(
fd_, 0, SEEK_CUR);