github.com/tetratelabs/wazero@v1.2.1/internal/sysfs/file_unsupported.go (about) 1 //go:build !unix && !linux && !darwin 2 3 package sysfs 4 5 import "syscall" 6 7 const NonBlockingFileIoSupported = false 8 9 // readFd returns ENOSYS on unsupported platforms. 10 func readFd(fd uintptr, buf []byte) (int, syscall.Errno) { 11 return -1, syscall.ENOSYS 12 }