blob: 7707bcacf03a13bf440f6d4779e0013c95faa874 [file] [log] [blame]
khenaidooab1f7bd2019-11-14 14:00:27 -05001package bbolt
2
3import (
4 "syscall"
5)
6
7// fdatasync flushes written data to a file descriptor.
8func fdatasync(db *DB) error {
9 return syscall.Fdatasync(int(db.file.Fd()))
10}