From a10ce47f54a5c57292d11faec14e398f11b7ae4f Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Sun, 23 Mar 2014 08:59:45 -0700 Subject: Consolidate syscall files. --- syscall_linux.go | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 syscall_linux.go (limited to 'syscall_linux.go') diff --git a/syscall_linux.go b/syscall_linux.go new file mode 100644 index 0000000..351b65a --- /dev/null +++ b/syscall_linux.go @@ -0,0 +1,10 @@ +package bolt + +import ( + "os" + "syscall" +) + +func fdatasync(f *os.File) error { + return syscall.Fdatasync(int(f.Fd())) +} -- cgit v1.2.3