Does it makes sense to call sync() on output-only fstream?

后端 未结 0 997
梦谈多话
梦谈多话 2020-12-03 02:12

I found some legacy company code that was using an std::fstream and calling fs.flush() after each write, then fs.sync() each time a ce

相关标签:
回答
  • 消灭零回复
提交回复
热议问题