Files
wazero/internal/sysfs/datasync_unsupported.go
2023-05-17 11:14:31 -07:00

14 lines
195 B
Go

//go:build !linux
package sysfs
import (
"os"
"syscall"
)
func datasync(f *os.File) syscall.Errno {
// Attempt to sync everything, even if we only need to sync the data.
return fsync(f)
}