Files
wazero/internal/sysfs/open_file_unsupported.go
2023-07-19 16:01:44 +08:00

17 lines
396 B
Go

//go:build !darwin && !linux && !windows && !illumos && !solaris && !freebsd
package sysfs
import "github.com/tetratelabs/wazero/internal/fsapi"
const supportedSyscallOflag = fsapi.Oflag(0)
func withSyscallOflag(oflag fsapi.Oflag, flag int) int {
// O_DIRECTORY not defined
// O_DSYNC not defined
// O_NOFOLLOW not defined
// O_NONBLOCK not defined
// O_RSYNC not defined
return flag
}