bolt/syscall_linux.go

11 lines
119 B
Go

package bolt
import (
"os"
"syscall"
)
func fdatasync(f *os.File) error {
return syscall.Fdatasync(int(f.Fd()))
}