github.com/wasilibs/wazerox@v0.0.0-20240124024944-4923be63ab5f/internal/sysfs/poll_unsupported.go (about) 1 //go:build !linux && !darwin && !windows 2 3 package sysfs 4 5 import ( 6 "github.com/wasilibs/wazerox/experimental/sys" 7 "github.com/wasilibs/wazerox/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 }