sys: Disable buffering on log files

This commit is contained in:
WerWolv
2022-03-01 00:03:28 +01:00
parent 5a02c38fcd
commit b57730c28b
3 changed files with 14 additions and 5 deletions

View File

@@ -61,6 +61,8 @@ namespace hex {
auto getHandle() { return this->m_file; }
const fs::path &getPath() { return this->m_path; }
void disableBuffering();
private:
FILE *m_file;
fs::path m_path;