diff options
author | 2016-03-01 07:38:14 +1100 | |
---|---|---|
committer | 2016-03-01 07:38:14 +1100 | |
commit | ba960afb5f3464df2a6e8588e8b59739fbc08535 (patch) | |
tree | 3f3af833f5eac2be2fece1285ebf5584a130bdd7 /src/lib/util/corefile.cpp | |
parent | a830ea76270b7894a03922a172d58bfaefbc827f (diff) |
Add function for flushing file buffers
Diffstat (limited to 'src/lib/util/corefile.cpp')
-rw-r--r-- | src/lib/util/corefile.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/util/corefile.cpp b/src/lib/util/corefile.cpp index 344a2922bfe..25978afdb2c 100644 --- a/src/lib/util/corefile.cpp +++ b/src/lib/util/corefile.cpp @@ -898,6 +898,16 @@ file_error core_truncate(core_file *f, UINT64 offset) } +/*------------------------------------------------- + core_truncate - flush write buffer +-------------------------------------------------*/ + +file_error core_fflush(core_file *f) +{ + return osd_fflush(f->file); +} + + /*************************************************************************** FILENAME UTILITIES |