github.com/tetratelabs/wazero@v1.7.3-0.20240513003603-48f702e154b5/internal/sysfs/poll_unsupported.go (about) 1 //go:build !(linux || darwin || windows) || tinygo 2 3 package sysfs 4 5 import ( 6 "github.com/tetratelabs/wazero/experimental/sys" 7 "github.com/tetratelabs/wazero/internal/fsapi" 8 ) 9 10 // poll implements `Poll` as documented on fsapi.File via a file descriptor. 11 func poll(uintptr, fsapi.Pflag, int32) (bool, sys.Errno) { 12 return false, sys.ENOSYS 13 }