...

Source file src/go.etcd.io/bbolt/bolt_linux.go

Documentation: go.etcd.io/bbolt

     1  package bbolt
     2  
     3  import (
     4  	"syscall"
     5  )
     6  
     7  // fdatasync flushes written data to a file descriptor.
     8  func fdatasync(db *DB) error {
     9  	return syscall.Fdatasync(int(db.file.Fd()))
    10  }
    11  

View as plain text