aboutsummaryrefslogtreecommitdiff
path: root/boltsync_unix.go
blob: 3c54dd5e395da315fba9a4967954fefe8597b834 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// +build !windows,!plan9,!linux

package bolt

import (
	"os"
)

var odirect int

// fdatasync flushes written data to a file descriptor.
func fdatasync(f *os.File) error {
	return f.Sync()
}