diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-03-23 10:01:58 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-03-23 10:01:58 -0600 |
commit | 1282a4aff765af4f9975faa18b6255ea18e2598f (patch) | |
tree | 9eab120d9749dec8835e8420e22985d18af79d3d /syscall.go | |
parent | Merge pull request #75 from Slacken/32bit_build_fails_bucket_go_67 (diff) | |
parent | Consolidate syscall files. (diff) | |
download | dedo-1282a4aff765af4f9975faa18b6255ea18e2598f.tar.gz dedo-1282a4aff765af4f9975faa18b6255ea18e2598f.tar.xz |
Merge pull request #76 from benbjohnson/fsync
fdatasync
Diffstat (limited to 'syscall.go')
-rw-r--r-- | syscall.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/syscall.go b/syscall.go new file mode 100644 index 0000000..c3a1bb5 --- /dev/null +++ b/syscall.go @@ -0,0 +1,9 @@ +// +build !linux + +package bolt + +import "os" + +func fdatasync(f *os.File) error { + return f.Sync() +} |