37 std::streamsize written = 0;
38 while ( written < count_r ) {
58 _mode = std::ios_base::openmode(0);
bool openImpl(int fd, std::ios_base::openmode mode_r)
std::streamsize readData(char *buffer_r, std::streamsize maxcount_r)
void resetDispose()
Set no dispose function.
auto eintrSafeCall(Fun &&function, Args &&... args)
bool writeData(const char *buffer_r, std::streamsize count_r)
std::map< std::string, std::string > read(const Pathname &_path)
Read sysconfig file path_r and return (key,valye) pairs.
bool write(const Pathname &path_r, const std::string &key_r, const std::string &val_r, const std::string &newcomment_r)
Add or change a value in sysconfig file path_r.
std::ios_base::openmode _mode