From 51a73f2e648a7a75e7676b1a164beebdf864a870 Mon Sep 17 00:00:00 2001 From: Klemens Date: Wed, 21 Dec 2022 14:37:16 +0800 Subject: [PATCH] Adjusted append docs. Closes #2568. --- include/boost/beast/core/file_base.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/boost/beast/core/file_base.hpp b/include/boost/beast/core/file_base.hpp index cf75e785..0c0c2625 100644 --- a/include/boost/beast/core/file_base.hpp +++ b/include/boost/beast/core/file_base.hpp @@ -73,15 +73,14 @@ enum class file_mode */ write_existing, - /** Appending to a new or truncated file + /** Appending to a new or existing file The current file position shall be set to the end of the file prior to each write. @li If the file does not exist, it is created. - @li If the file exists, it is truncated to - zero size upon opening. + @li If the file exists, the new data gets appended. */ append,