Files
wazero/internal/sysfs/datasync_unsupported.go
2023-07-17 08:13:29 +08:00

15 lines
231 B
Go

//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)
}