mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-15 23:20:06 +02:00
trunk/branch integration: FileStream::close()
This commit is contained in:
@@ -62,8 +62,9 @@ public:
|
|||||||
void open(const std::string& path, std::ios::openmode mode);
|
void open(const std::string& path, std::ios::openmode mode);
|
||||||
/// Opens the given file in the given mode.
|
/// Opens the given file in the given mode.
|
||||||
|
|
||||||
void close();
|
bool close();
|
||||||
/// Closes the File stream buffer.
|
/// Closes the File stream buffer. Returns true if successful,
|
||||||
|
/// false otherwise.
|
||||||
|
|
||||||
std::streampos seekoff(std::streamoff off, std::ios::seekdir dir, std::ios::openmode mode = std::ios::in | std::ios::out);
|
std::streampos seekoff(std::streamoff off, std::ios::seekdir dir, std::ios::openmode mode = std::ios::in | std::ios::out);
|
||||||
/// Change position by offset, according to way and mode.
|
/// Change position by offset, according to way and mode.
|
||||||
|
Reference in New Issue
Block a user