summaryrefslogtreecommitdiff
path: root/vendor/github.com/tetratelabs/wazero/internal/sysfs/datasync_unsupported.go
blob: aa05719be6186ae1c2481b1f1371016868afeeab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//go:build !linux

package sysfs

import (
	"os"

	"github.com/tetratelabs/wazero/experimental/sys"
)

func datasync(f *os.File) sys.Errno {
	// Attempt to sync everything, even if we only need to sync the data.
	return fsync(f)
}