Fix File object.
This commit is contained in:
1 parent
d38b7f0c55
commit
eb48a5180d
2 files changed
+16
-5
No files matched your search
@@ -22,6 +22,7 @@ namespace coreutils {
|
||||
void setBufferSize(size_t size);
|
||||
void read();
|
||||
void write(std::string data);
|
||||
void write(coreutils::ZString &data);
|
||||
std::string asString();
|
||||
|
||||
char *buffer;
|
||||
@@ -30,6 +31,7 @@ namespace coreutils {
|
||||
std::string fileName;
|
||||
|
||||
private:
|
||||
void open(std::string fileName, int mode, int authority);
|
||||
int fd;
|
||||
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user