mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-31 21:48:44 +00:00
13 lines
203 B
Go
Executable File
13 lines
203 B
Go
Executable File
package bolt
|
|
|
|
import (
|
|
"syscall"
|
|
)
|
|
|
|
var odirect = syscall.O_DIRECT
|
|
|
|
// fdatasync flushes written data to a file descriptor.
|
|
func fdatasync(db *DB) error {
|
|
return syscall.Fdatasync(int(db.file.Fd()))
|
|
}
|