Gitiles
Code Review
Sign In
gerrit.opencord.org
/
voltha-lib-go
/
3da1fd0a7a94b8e67ebd332cf41d2cdcda5e0c1a
/
.
/
vendor
/
go.etcd.io
/
bbolt
/
bolt_linux.go
blob: 7707bcacf03a13bf440f6d4779e0013c95faa874 [
file
] [
log
] [
blame
]
khenaidoo
59ce9dd
2019-11-11 13:05:32 -0500
[
diff
] [
blame
]
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
}