mirror of
1
Fork 0
gotosocial/vendor/github.com/tetratelabs/wazero/internal/sysfs/sync.go

14 lines
178 B
Go

//go:build !windows
package sysfs
import (
"os"
"github.com/tetratelabs/wazero/experimental/sys"
)
func fsync(f *os.File) sys.Errno {
return sys.UnwrapOSError(f.Sync())
}