github.com/bananabytelabs/wazero@v0.0.0-20240105073314-54b22a776da8/internal/sysfs/poll_unsupported.go (about)

     1  //go:build !linux && !darwin && !windows
     2  
     3  package sysfs
     4  
     5  import (
     6  	"github.com/bananabytelabs/wazero/experimental/sys"
     7  	"github.com/bananabytelabs/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  }