shirou_gopsutil/net/net_linux_111.go

13 lines
153 B
Go

//go:build !go1.16
// +build !go1.16
package net
import (
"os"
)
func readDir(f *os.File, max int) ([]os.FileInfo, error) {
return f.Readdir(max)
}