blob: 9587afefee404805cddb1622f0202b77c4201ed1 [file] [log] [blame]
khenaidooab1f7bd2019-11-14 14:00:27 -05001// +build !windows,!plan9,!linux,!openbsd
2
3package bbolt
4
5// fdatasync flushes written data to a file descriptor.
6func fdatasync(db *DB) error {
7 return db.file.Sync()
8}