Commit 82c82306 authored by Linshizhi's avatar Linshizhi

Add eof reset.

parent 851d6559
......@@ -80,6 +80,11 @@ public:
return io;
}
void resetEofFlag() {
io->eof_reached = 0;
io->error = 0;
}
protected:
RW_FLAG flag;
void *priv;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment