master
go 8 lines 155 Bytes
Raw
1 // Stub returning zero on platforms without /proc or Handle APIs.
2 //go:build !linux && !darwin && !windows
3
4 package fd
5
6 func GetNumFDs() int {
7 return 0
8 }