mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 10:32:56 +01:00
#4170: Poco::FileStream is always opened with std::ios::in | std::ios::out
This commit is contained in:
@@ -60,6 +60,14 @@ public:
|
||||
/// does not exist or is not accessible for other reasons and
|
||||
/// a new file cannot be created.
|
||||
|
||||
void open(const std::string& path);
|
||||
/// Opens the file specified by path, using the default mode given
|
||||
/// in the constructor.
|
||||
///
|
||||
/// Throws a FileException (or a similar exception) if the file
|
||||
/// does not exist or is not accessible for other reasons and
|
||||
/// a new file cannot be created.
|
||||
|
||||
void close();
|
||||
/// Closes the file stream.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user