diff options
author | Kenneth Heafield <github@kheafield.com> | 2012-02-28 22:58:00 +0400 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2012-02-28 22:58:00 +0400 |
commit | e48de47c2381547f78f4dbd89f4fa3e76ba0c6bf (patch) | |
tree | cdcbb888209bee7dd9c02a7d678cce4262c35416 /util/file.hh | |
parent | 7927979298644923cf02ad6c757c3d7c209e365a (diff) |
KenLM 98814b2 including faster malloc-backed building and portability improvements
Diffstat (limited to 'util/file.hh')
-rw-r--r-- | util/file.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/file.hh b/util/file.hh index 04023dec0..5c57e2a9f 100644 --- a/util/file.hh +++ b/util/file.hh @@ -78,6 +78,8 @@ std::size_t ReadOrEOF(int fd, void *to_void, std::size_t amount); void WriteOrThrow(int fd, const void *data_void, std::size_t size); +void FSyncOrThrow(int fd); + // Seeking void SeekOrThrow(int fd, uint64_t off); void AdvanceOrThrow(int fd, int64_t off); |