13 lines
265 B
Go
13 lines
265 B
Go
//go:build !unix && !linux && !darwin && !windows
|
|
|
|
package sysfs
|
|
|
|
import "syscall"
|
|
|
|
const NonBlockingFileIoSupported = false
|
|
|
|
// readFd returns ENOSYS on unsupported platforms.
|
|
func readFd(fd uintptr, buf []byte) (int, syscall.Errno) {
|
|
return -1, syscall.ENOSYS
|
|
}
|