//go:build windows || (linux && !tinygo) || darwin

package sysfs

import (
	
	
)

// poll implements `Poll` as documented on sys.File via a file descriptor.
func poll( uintptr,  fsapi.Pflag,  int32) ( bool,  sys.Errno) {
	if  != fsapi.POLLIN {
		return false, sys.ENOTSUP
	}
	 := []pollFd{newPollFd(, _POLLIN, 0)}
	,  := _poll(, )
	return  > 0, 
}