Files
wazero/internal/sysfs/file_unsupported.go
2023-07-10 06:50:26 +08:00

13 lines
265 B
Go

//go:build !unix && !linux && !darwin && !windows
package sysfs
import "syscall"
const NonBlockingFileIoSupported = false
// readFd returns ENOSYS on unsupported platforms.
func readFd(fd uintptr, buf []byte) (int, syscall.Errno) {
return -1, syscall.ENOSYS
}