File: bolt_linux.go

package info (click to toggle)
golang-github-nebulouslabs-bolt 1.0%2Bgit20170823.0.a22e934-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 492 kB
  • sloc: makefile: 17
file content (10 lines) | stat: -rw-r--r-- 171 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
package bolt

import (
	"syscall"
)

// fdatasync flushes written data to a file descriptor.
func fdatasync(db *DB) error {
	return syscall.Fdatasync(int(db.file.Fd()))
}