diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-03-23 08:59:45 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-03-23 08:59:45 -0700 |
commit | a10ce47f54a5c57292d11faec14e398f11b7ae4f (patch) | |
tree | 9eab120d9749dec8835e8420e22985d18af79d3d /syscall.go | |
parent | Merge branch 'fdatasync' of https://github.com/tv42/bolt into fsync (diff) | |
download | dedo-a10ce47f54a5c57292d11faec14e398f11b7ae4f.tar.gz dedo-a10ce47f54a5c57292d11faec14e398f11b7ae4f.tar.xz |
Consolidate syscall files.
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() +} |