Gitiles
Code Review
Sign In
gerrit.opencord.org
/
voltha-go
/
ffe076b512b544d465358d267fee3c9b693d6a4a
/
.
/
vendor
/
github.com
/
coreos
/
bbolt
/
bolt_linux.go
blob: 2b676661409066133dcff5df491a77dfee2a605c [
file
] [
log
] [
blame
]
khenaidoo
ffe076b
2019-01-15 16:08:08 -0500
[
diff
] [
blame^
]
1
package bolt
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
}